diff --git a/gdextension/gdextension_interface.h b/gdextension/gdextension_interface.h index 8268afc3a..68c39587c 100644 --- a/gdextension/gdextension_interface.h +++ b/gdextension/gdextension_interface.h @@ -368,6 +368,7 @@ typedef struct { GDExtensionBool is_abstract; GDExtensionBool is_exposed; GDExtensionBool is_runtime; + GDExtensionConstStringPtr icon_path; GDExtensionClassSet set_func; GDExtensionClassGet get_func; GDExtensionClassGetPropertyList get_property_list_func; diff --git a/include/godot_cpp/core/class_db.hpp b/include/godot_cpp/core/class_db.hpp index 865deb819..402f7e08a 100644 --- a/include/godot_cpp/core/class_db.hpp +++ b/include/godot_cpp/core/class_db.hpp @@ -251,6 +251,7 @@ void ClassDB::_register_class(bool p_virtual, bool p_exposed, bool p_runtime) { is_abstract, // GDExtensionBool is_abstract; p_exposed, // GDExtensionBool is_exposed; p_runtime, // GDExtensionBool is_runtime; + nullptr, // GDExtensionConstStringPtr icon_path; T::set_bind, // GDExtensionClassSet set_func; T::get_bind, // GDExtensionClassGet get_func; T::has_get_property_list() ? T::get_property_list_bind : nullptr, // GDExtensionClassGetPropertyList get_property_list_func;