ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
Last change
on this file since 093a5d7 was
f4e3419d,
checked in by Peter A. Buhr <pabuhr@…>, 7 years ago
|
restructure paper documents
|
-
Property mode set to
100644
|
File size:
428 bytes
|
Rev | Line | |
---|
[0d10090] | 1 | #pragma once |
---|
| 2 | #include <stdio.h> |
---|
[c87cd93] | 3 | #include "cfa-pair.h" |
---|
[0d10090] | 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.