diff --git a/dependencies/sqrat/include/sqmodule.h b/dependencies/sqrat/include/sqmodule.h index 2fc19aa..4633432 100644 --- a/dependencies/sqrat/include/sqmodule.h +++ b/dependencies/sqrat/include/sqmodule.h @@ -205,7 +205,7 @@ extern "C" { SQRESULT (*setclosureroot)(HSQUIRRELVM v, SQInteger idx); SQRESULT (*getclosureroot)(HSQUIRRELVM v, SQInteger idx); void (*pushthread)(HSQUIRRELVM v, HSQUIRRELVM thread); - SQRESULT (*typeof)(HSQUIRRELVM v, SQInteger idx); + SQRESULT (*type_of)(HSQUIRRELVM v, SQInteger idx); SQHash (*gethash)(HSQUIRRELVM v, SQInteger idx); SQRELEASEHOOK (*getreleasehook)(HSQUIRRELVM v, SQInteger idx); SQRESULT (*getfunctioninfo)(HSQUIRRELVM v, SQInteger level, SQFunctionInfo* fi); diff --git a/src/api/squirrel_api.h b/src/api/squirrel_api.h index b38aef8..5a03c47 100644 --- a/src/api/squirrel_api.h +++ b/src/api/squirrel_api.h @@ -58,7 +58,7 @@ #define sq_pushnull SqModule::api->pushnull #define sq_pushthread SqModule::api->pushthread #define sq_gettype SqModule::api->gettype -#define sq_typeof SqModule::api->typeof +#define sq_typeof SqModule::api->type_of #define sq_getsize SqModule::api->getsize #define sq_gethash SqModule::api->gethash #define sq_getbase SqModule::api->getbase