source: doc/generic_types/evaluation/cfa-print.h @ d9dd3d1

aaron-thesisarm-ehcleanup-dtorsdeferred_resndemanglerjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprnew-envno_listpersistent-indexerresolv-newwith_gc
Last change on this file since d9dd3d1 was 0d10090, checked in by Aaron Moss <a3moss@…>, 5 years ago

Add printing code to benchmark

  • Property mode set to 100644
File size: 426 bytes
Line 
1#pragma once
2
3#include <stdio.h>
4#include "pair"
5
6forall(otype T, ttype Params | { void print(FILE*, T); void print(FILE*, Params); })
7void print(FILE* out, T arg, Params rest);
8
9void print(FILE* out, const char* x);
10
11void print(FILE* out, _Bool x);
12
13void print(FILE* out, char x);
14
15void print(FILE* out, int x);
16
17forall(otype R, otype S | { void print(FILE*, R); void print(FILE*, S); })
18void print(FILE* out, pair(R, S) x);
Note: See TracBrowser for help on using the repository browser.