Carp/examples/parse_me.h

17 lines
348 B
C
Raw Normal View History

// This is a comment
void boo();
char hoo();
// This is also a comment
int foo(int x);
float goo(double x, double y);
2018-02-27 12:47:03 +03:00
// some people use too much whitespace
float weird ( double x , double y ) ;
// Struct types
vector2 middle(vector2 p1, vector2 p2);
// Pointers are also useful to parse
void gah(int *x);
char *blah(int *x, float *y);