2018-02-27 12:32:25 +03:00
|
|
|
// This is a comment
|
2018-02-27 11:50:20 +03:00
|
|
|
void boo();
|
|
|
|
char hoo();
|
2018-02-27 12:32:25 +03:00
|
|
|
// This is also a comment
|
2018-02-27 11:50:20 +03:00
|
|
|
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);
|
2018-02-27 13:00:39 +03:00
|
|
|
void dah(int *x, float* y);
|
|
|
|
char *blah(int *x, float* y);
|
2018-02-27 13:17:51 +03:00
|
|
|
|
|
|
|
vector2 *more(vector3* in);
|
2018-02-27 16:28:48 +03:00
|
|
|
|
|
|
|
GLFWAPI GLFWwindow* glfwCreateWindow(int width, int height, const char* title, GLFWmonitor* monitor, GLFWwindow* share);
|
2018-02-27 18:48:31 +03:00
|
|
|
|
|
|
|
|
|
|
|
// TODO:
|
|
|
|
GLFWAPI void glfwPollEvents(void);
|
2018-03-06 15:47:53 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// C Macros
|
|
|
|
|
|
|
|
#define K_BLAH 12345
|
|
|
|
#define K_BLAX 0x123
|
|
|
|
#define K_GLAH 12345
|