Lets say I have an extern function pointer in a header file
extern void (__stdcall * const glEnable) (GLenum cap);
is there a way to define it inside a function, because its definition depends on other stuff
void glInit()
{
...
Lib lib = loadLib("opengl");
glEnable = procAddr(lib, "glEnable");
...
}