I would like to be able to do something like this:
void test();
void (*testPointer)() = SomethingThatReturnsAFunctionPointer();
test = testPointer;
I would like to make something that functions similarly to the way openGL headers are implemented in which function prototypes are declared, and then the functions are set to a pointer. In other words, I would like to know how some openGL header files are able to both load the openGL functions, and have prototypes of the functions at the same time.