ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newwith_gc
Last change
on this file since c57d1935 was
a381b46,
checked in by Aaron Moss <a3moss@…>, 7 years ago
|
Minor cleanup, also filled in benchmark source appendix
|
-
Property mode set to
100644
|
File size:
422 bytes
|
Rev | Line | |
---|
[0d10090] | 1 | #pragma once |
---|
| 2 | #include <stdio.h> |
---|
| 3 | #include "pair" |
---|
| 4 | |
---|
| 5 | forall(otype T, ttype Params | { void print(FILE*, T); void print(FILE*, Params); }) |
---|
| 6 | void print(FILE* out, T arg, Params rest); |
---|
| 7 | |
---|
| 8 | void print(FILE* out, const char* x); |
---|
| 9 | void print(FILE* out, _Bool x); |
---|
| 10 | void print(FILE* out, char x); |
---|
| 11 | void print(FILE* out, int x); |
---|
| 12 | |
---|
| 13 | forall(otype R, otype S | { void print(FILE*, R); void print(FILE*, S); }) |
---|
| 14 | void print(FILE* out, pair(R, S) x); |
---|
Note: See
TracBrowser
for help on using the repository browser.