I hate templates

This commit is contained in:
Karroffel
2017-03-05 03:02:29 +01:00
parent edc2496474
commit a15e7b7189
4 changed files with 301 additions and 6 deletions

View File

@@ -409,11 +409,7 @@ public:
godot_input_event s = godot_variant_as_input_event(&_godot_variant);
return *(InputEvent *) &s;
}
operator Object*() const
{
godot_object *s = godot_variant_as_object(&_godot_variant);
return (Object *) s;
}
operator Object() const;
operator Dictionary() const;
operator Array() const;