ADT
aaron-thesis
arm-eh
ast-experimental
cleanup-dtors
deferred_resn
demangler
enum
forall-pointer-decay
jacob/cs343-translation
jenkins-sandbox
new-ast
new-ast-unique-expr
new-env
no_list
persistent-indexer
pthread-emulation
qualifiedEnum
resolv-new
with_gc
Last change
on this file since 2b8bc41 was 604e76d, checked in by Peter A. Buhr <pabuhr@…>, 8 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.