Skip to content

Commit

Permalink
revert: revert "refactor: remove NativeAPI"
Browse files Browse the repository at this point in the history
  • Loading branch information
ShrBox committed Aug 4, 2024
1 parent 23199eb commit ecfc14b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/legacy/main/BindAPIs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,11 @@ void BindAPIs(ScriptEngine* engine) {
engine->registerNativeClass<ParticleSpawner>(ParticleSpawnerBuilder);

//////////////// NativeFFI ////////////////
// engine->registerNativeClass(NativeTypeEnumBuilder);
// engine->registerNativeClass<NativePointer>(NativePointerBuilder);
// engine->registerNativeClass<ScriptNativeFunction>(NativeCallBuilder);
// engine->registerNativeClass<NativeStdString>(NativeStdStringBuilder);
// engine->registerNativeClass<DynamicHookData>(NativeHookBuilder);
engine->registerNativeClass(NativeTypeEnumBuilder);
engine->registerNativeClass<NativePointer>(NativePointerBuilder);
engine->registerNativeClass<ScriptNativeFunction>(NativeCallBuilder);
engine->registerNativeClass<NativeStdString>(NativeStdStringBuilder);
engine->registerNativeClass<DynamicHookData>(NativeHookBuilder);
// engine->registerNativeClass<NativePatch>(NativePatchBuilder);
// engine->registerNativeClass<GlobalNativePointer>(GlobalNativePointerBuilder);
engine->registerNativeClass<GlobalNativePointer>(GlobalNativePointerBuilder);
}

0 comments on commit ecfc14b

Please sign in to comment.