GoG SDK

Is there any guidance on how to do this? I’ve got the library files and header files in the right locations based on your instructions.

I’ve tried modifying this section in the example as follows:

// Functions exposed to Lua
static const luaL_reg Module_methods[] =
{
    {"reverse", Reverse},
    {"signInGalaxy", SignInGalaxy},
    {0, 0}
};

But I get an error:

/myextension/src/myextension.cpp
	Line 41: use of undeclared identifier 'SignInGalaxy'
    {"signInGalaxy", SignInGalaxy},
                     ^

I note that Reverse from the example is defined in the cpp file itself, but that the SignInGalaxy method I am trying to reach is in a header file. Presumably something needs to be done to refer to the appropriate header file, but I don’t know how.

Any hints?