MCPcopy Create free account
hub / github.com/borndotcom/react-native-godot / create_callable

Method create_callable

android/src/main/cpp/GodotModule.cpp:571–573  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

569};
570
571godot::Callable GodotModule::create_callable(std::function<void(const godot::Variant **, int, godot::Variant &, GDExtensionCallError &)> f) {
572 return godot::Callable(memnew(CPPCallable(f)));
573}
574
575void GodotModule::registerWindowUpdateCallback(std::string name, void *handle, std::function<void(bool)> f, void *ref) {
576 AndroidPlatformData *data = static_cast<AndroidPlatformData *>(_data);

Callers

nothing calls this directly

Calls 1

CPPCallableClass · 0.85

Tested by

no test coverage detected