rendawudi
rendawudi
I changed callable.hpp content then can compile pass,but when calling deffered function will crash my C++ code: ``` UtilityFunctions::print("run call back len:" + length); PackedByteArray tmpVar; if (length != 0)...
here is my gdscript,I wan't to write lambda callback used for c++ module to be calling in thread ``` $Example.AddRouteOnMessage("onMessage", func(data :PackedByteArray): prints(data.get_string_from_ascii()) ) ```
Is there some lambda and callable implements? I find null point from bindingMethods with Clion,and no lambda code. 
``` PackedByteArray aaa; // const Variant * call_args = &Variant(tmpVar); Variant result; GDNativeCallError err; std::array call_args = { &aaa }; funcall.call("call", (const Variant **)call_args.data(), 1, result, err); ``` calling function...
I solved by code,and can get successful result without memory leak gdscript code ``` $Example.AddRouteOnMessage("onMessage", func(packMsg: PackedByteArray): print(packMsg.get_string_from_ascii()) ) ``` c++ code ``` if (arg_count != 2) { error.error =...
``` String route = args[0]->operator String(); PackedByteArray tmpdata = args[1]->operator PackedByteArray(); Variant funcall = *args[2]; PackedByteArray tmpVar; Variant qqt = tmpVar; const auto **argptr = (const Variant **)alloca(sizeof(Variant *)); argptr[0]...
I solved by code,and can get successful result without memory leak gdscript code ``` $Example.AddRouteOnMessage("onMessage", func(packMsg: PackedByteArray): print(packMsg.get_string_from_ascii()) ) ``` c++ code ``` if (arg_count != 2) { error.error =...
so how can I get only updated uids or other custom attrs from upsert?
> if upsert has a complex queries and uses client do this upsert in conditional, what can I do in a new query?
is there any progress on this?