Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to Godot 4.0 beta9 #76

Merged
merged 1 commit into from
Dec 19, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion godot-cpp
Submodule godot-cpp updated 43 files
+3 −3 .github/workflows/ci.yml
+14 −9 CMakeLists.txt
+3 −4 README.md
+15 −5 SConstruct
+50 −48 binding_generator.py
+20 −0 gdextension/README.md
+2,210 −320 gdextension/extension_api.json
+619 −0 gdextension/gdextension_interface.h
+0 −16 godot-headers/README.md
+0 −612 godot-headers/godot/gdnative_interface.h
+18 −7 include/godot_cpp/classes/ref.hpp
+95 −95 include/godot_cpp/classes/wrapped.hpp
+62 −62 include/godot_cpp/core/binder_common.hpp
+9 −9 include/godot_cpp/core/builtin_ptrcall.hpp
+33 −33 include/godot_cpp/core/class_db.hpp
+4 −4 include/godot_cpp/core/defs.hpp
+18 −18 include/godot_cpp/core/engine_ptrcall.hpp
+1 −1 include/godot_cpp/core/math.hpp
+1 −1 include/godot_cpp/core/memory.hpp
+56 −56 include/godot_cpp/core/method_bind.hpp
+2 −2 include/godot_cpp/core/method_ptrcall.hpp
+10 −10 include/godot_cpp/core/object.hpp
+2 −2 include/godot_cpp/core/property_info.hpp
+102 −102 include/godot_cpp/core/type_info.hpp
+17 −17 include/godot_cpp/godot.hpp
+11 −11 include/godot_cpp/variant/variant.hpp
+1 −1 misc/scripts/check_get_file_list.py
+3 −3 src/classes/wrapped.cpp
+51 −51 src/core/class_db.cpp
+8 −8 src/core/error_macros.cpp
+3 −3 src/core/memory.cpp
+5 −5 src/core/method_bind.cpp
+5 −5 src/core/object.cpp
+12 −12 src/godot.cpp
+20 −20 src/variant/char_string.cpp
+40 −40 src/variant/packed_arrays.cpp
+95 −95 src/variant/variant.cpp
+3 −3 test/CMakeLists.txt
+4 −1 test/demo/main.gd
+3 −1 test/demo/main.tscn
+32 −8 test/src/example.cpp
+13 −4 test/src/example.h
+2 −2 test/src/register_types.cpp
4 changes: 2 additions & 2 deletions src/init_gdextension.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/

#include <godot/gdnative_interface.h>
#include <gdextension_interface.h>

#include <godot_cpp/core/class_db.hpp>
#include <godot_cpp/core/defs.hpp>
Expand Down Expand Up @@ -66,7 +66,7 @@ void unregister_webrtc_extension_types(ModuleInitializationLevel p_level) {
}

extern "C" {
GDNativeBool GDN_EXPORT webrtc_extension_init(const GDNativeInterface *p_interface, const GDNativeExtensionClassLibraryPtr p_library, GDNativeInitialization *r_initialization) {
GDExtensionBool GDE_EXPORT webrtc_extension_init(const GDExtensionInterface *p_interface, const GDExtensionClassLibraryPtr p_library, GDExtensionInitialization *r_initialization) {
GDExtensionBinding::InitObject init_obj(p_interface, p_library, r_initialization);

init_obj.register_initializer(register_webrtc_extension_types);
Expand Down