This commit is contained in:
@@ -25,8 +25,7 @@ private:
|
||||
|
||||
void RegisterTypes();
|
||||
void
|
||||
InitializeByteCode(asIBinaryStream* stream,
|
||||
const ArbUt::Dictionary<ScriptCategory, ArbUt::Dictionary<ArbUt::StringView, uint32_t>>& types);
|
||||
InitializeByteCode(const ArbUt::Dictionary<ScriptCategory, ArbUt::Dictionary<ArbUt::StringView, uint32_t>>& types);
|
||||
|
||||
public:
|
||||
~AngelScriptResolver() override {
|
||||
@@ -64,7 +63,7 @@ public:
|
||||
int r = _engine->RegisterObjectMethod(type, decl, asFunctionPtr(func), asCALL_CDECL_OBJFIRST);
|
||||
Assert(r >= 0);
|
||||
}
|
||||
void RegisterGlobalMethod(const char* decl, void*(func)(void*)) {
|
||||
void RegisterGlobalMethod(const char*, void*(func)(void*)) {
|
||||
auto r = _engine->RegisterGlobalFunction("decl", asFunctionPtr(func), asCALL_CDECL);
|
||||
Assert(r >= 0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user