source:
doc/papers/OOPSLA17/evaluation/cfa-print.h@
ab2b352
| Last change on this file since ab2b352 was f4e3419d, checked in by , 8 years ago | |
|---|---|
|
|
| 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.