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

Function createVariantArgArray

common/NativeGodotModule.cpp:78–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76}
77
78static std::vector<const godot::Variant *> createVariantArgArray(const std::vector<godot::Variant> &args) {
79 std::vector<const godot::Variant *> ret;
80 ret.reserve(args.size());
81 for (int i = 0; i < args.size(); ++i) {
82 ret.push_back(&args[i]);
83 }
84 return ret;
85}
86
87static const char *JAVASCRIPT_CALLABLE_NAME = "JavascriptCallable";
88class JavascriptCallable : public godot::CallableCustom {

Callers 2

getMethod · 0.85
createStaticFunctionMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected