(bind-func godot_call
(lambda (classname:i8* methodname:i8* instance:godot_object* arg1:godot_variant* arg2:godot_variant*)
(let ((method:godot_method_bind* (godot_method_bind_get_method classname methodname))
(args:godot_variant** (salloc 2))
(error:godot_variant_call_error* (salloc)))
(pfill! args arg1 arg2)
(let ((res (godot_method_bind_call method instance args 2 error)))
(println "call return type:" (godot_variant_get_type (ref res)) "errors:" error)
res))))