HxGodot / hxgodot

A Haxe GDExtension for Godot 4
MIT License
232 stars 11 forks source link

Missing vararg in generated SceneTree.call_group. #38

Closed dazKind closed 1 year ago

dazKind commented 1 year ago
public function call_group(group:godot.variant.StringName, method:godot.variant.StringName):Void {
{
    var _hxwrap__group = ((group : godot.variant.StringName)).native_ptr();
    var _hxwrap__method = ((method : godot.variant.StringName)).native_ptr();
    untyped __cpp__("std::array<GDExtensionConstTypePtr, 2> call_args = { (GDExtensionTypePtr){0},(GDExtensionTypePtr){1} }", _hxwrap__group, _hxwrap__method);
    {
        untyped __cpp__('godot::internal::gdn_interface->object_method_bind_ptrcall({0}, {1}, (GDExtensionConstTypePtr*)call_args.data(), nullptr)', _method_call_group, this.native_ptr());
    };
};
}
{
    "name": "call_group",
    "is_const": false,
    "is_vararg": true,
    "is_static": false,
    "is_virtual": false,
    "hash": 1257962832,
    "arguments": [
        {
            "name": "group",
            "type": "StringName"
        },
        {
            "name": "method",
            "type": "StringName"
        }
    ]
},
dazKind commented 1 year ago

fixed in https://github.com/HxGodot/hxgodot/commit/3213a7331da2a4877af6f88f1b450e004549e2f9