Open locutus3009 opened 9 months ago
Please prove me if I am wrong, but
static int auth_current_user(lua_State *L) { ...
must have a C linkage as well e.g. it must be enclosed in extern "C" {} because lua expects functions with C calling convention.
extern "C" {}
If you don't mind, I may prepare a MR
Please prove me if I am wrong, but
must have a C linkage as well e.g. it must be enclosed in
extern "C" {}
because lua expects functions with C calling convention.If you don't mind, I may prepare a MR