ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
Last change
on this file since 1be1e5a was
604e76d,
checked in by Peter A. Buhr <pabuhr@…>, 7 years ago
|
initial setup for general and concurrency papers
|
-
Property mode set to
100644
|
File size:
428 bytes
|
Rev | Line | |
---|
[604e76d] | 1 | #pragma once |
---|
| 2 | #include <stdio.h> |
---|
| 3 | #include "cfa-pair.h" |
---|
| 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.