i am trying to get GameAPI pointer so
that my substruct test can use it.
Code:
struct GameAPI
{
static GameAPI* Ptr;
GameAPI()
{
Ptr = this;
}
struct
{
void func()
{
printf("%p",&Ptr);
}
}test;
};
ERROR: unresolved external symbol "public: static struct GameAPI * GameAPI::Ptr"