Revert typedef

This commit is contained in:
Kawe Mazidjatari 2022-09-22 17:13:05 +02:00
parent de2400f6a2
commit 41083a7324
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@
// *functor -
//---------------------------------------------------------------------------------
SQRESULT Script_RegisterFunction(CSquirrelVM* s, const SQChar* scriptname, const SQChar* nativename,
const SQChar* helpstring, const SQChar* returntype, const SQChar* parameters, SQFunctor* functor)
const SQChar* helpstring, const SQChar* returntype, const SQChar* parameters, void* functor)
{
ScriptFunctionBinding_t* binding = MemAllocSingleton()->Alloc<ScriptFunctionBinding_t>(sizeof(ScriptFunctionBinding_t));
memset(binding, '\0', sizeof(ScriptFunctionBinding_t));

View File

@ -20,7 +20,7 @@ struct ScriptFunctionBinding_t
std::int64_t unk50; // 50
std::int32_t unk58; // 58
std::int32_t padding3; // 5C
SQFunctor* _functor; // 60
void* _functor; // 60
ScriptFunctionBinding_t()
{