123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- // Copyright © 2019 - 2020 Oscar Campos <oscar.campos@thepimpam.com>
- // Copyright © 2017 - William Edwards
- //
- // Licensed under the Apache License, Version 2.0 (the "License");
- // you may not use this file except in compliance with the License.
- // You may obtain a copy of the License at
- //
- // http://www.apache.org/licenses/LICENSE-2.0
- //
- // Unless required by applicable law or agreed to in writing, software
- // distributed under the License is distributed on an "AS IS" BASIS,
- // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- // See the License for the specific language governing permissions and
- // limitations under the License.
- #include "gdnative.gen.h"
- #include <gdnative/aabb.h>
- #include <gdnative/array.h>
- #include <gdnative/basis.h>
- #include <gdnative/color.h>
- #include <gdnative/dictionary.h>
- #include <gdnative/gdnative.h>
- #include <gdnative/node_path.h>
- #include <gdnative/plane.h>
- #include <gdnative/pool_arrays.h>
- #include <gdnative/quat.h>
- #include <gdnative/rect2.h>
- #include <gdnative/rid.h>
- #include <gdnative/string.h>
- #include <gdnative/string_name.h>
- #include <gdnative/transform.h>
- #include <gdnative/transform2d.h>
- #include <gdnative/variant.h>
- #include <gdnative/vector2.h>
- #include <gdnative/vector3.h>
- #include <gdnative_api_struct.gen.h>
- /*------------------------------------------------------------------------------
- // This file was autogenerated by PimPam GDNative-Go binding tools
- // Please do not modify this file, any change will be lost
- //----------------------------------------------------------------------------*/
- /* GDNative NATIVESCRIPT 1.0 */
- void go_godot_nativescript_register_class(godot_gdnative_ext_nativescript_api_struct * p_api, void * p_gdnative_handle, const char * p_name, const char * p_base, godot_instance_create_func p_create_func, godot_instance_destroy_func p_destroy_func) {
- p_api->godot_nativescript_register_class(p_gdnative_handle, p_name, p_base, p_create_func, p_destroy_func);
- }
- void go_godot_nativescript_register_tool_class(godot_gdnative_ext_nativescript_api_struct * p_api, void * p_gdnative_handle, const char * p_name, const char * p_base, godot_instance_create_func p_create_func, godot_instance_destroy_func p_destroy_func) {
- p_api->godot_nativescript_register_tool_class(p_gdnative_handle, p_name, p_base, p_create_func, p_destroy_func);
- }
- void go_godot_nativescript_register_method(godot_gdnative_ext_nativescript_api_struct * p_api, void * p_gdnative_handle, const char * p_name, const char * p_function_name, godot_method_attributes p_attr, godot_instance_method p_method) {
- p_api->godot_nativescript_register_method(p_gdnative_handle, p_name, p_function_name, p_attr, p_method);
- }
- void go_godot_nativescript_register_property(godot_gdnative_ext_nativescript_api_struct * p_api, void * p_gdnative_handle, const char * p_name, const char * p_path, godot_property_attributes * p_attr, godot_property_set_func p_set_func, godot_property_get_func p_get_func) {
- p_api->godot_nativescript_register_property(p_gdnative_handle, p_name, p_path, p_attr, p_set_func, p_get_func);
- }
- void go_godot_nativescript_register_signal(godot_gdnative_ext_nativescript_api_struct * p_api, void * p_gdnative_handle, const char * p_name, const godot_signal * p_signal) {
- p_api->godot_nativescript_register_signal(p_gdnative_handle, p_name, p_signal);
- }
- void * go_godot_nativescript_get_userdata(godot_gdnative_ext_nativescript_api_struct * p_api, godot_object * p_instance) {
- return p_api->godot_nativescript_get_userdata(p_instance);
- }
|