summaryrefslogtreecommitdiffstats
path: root/test/src/register_types.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-09-07 13:07:57 +0200
committerGitHub <noreply@github.com>2022-09-07 13:07:57 +0200
commit446cacde15a889d84eea9ad03ea0c8fc928720f9 (patch)
treebd23ee3be5da695e50f40e3910e00e473cbda093 /test/src/register_types.cpp
parentf71c71164687ccb8049ce6d3506591c9c2b006dc (diff)
parent9220e9dd3471d88c1812d06006e9bd939e518d0c (diff)
downloadredot-cpp-446cacde15a889d84eea9ad03ea0c8fc928720f9.tar.gz
Merge pull request #817 from akien-mga/test-project-public-domain
Diffstat (limited to 'test/src/register_types.cpp')
-rw-r--r--test/src/register_types.cpp35
1 files changed, 4 insertions, 31 deletions
diff --git a/test/src/register_types.cpp b/test/src/register_types.cpp
index 97b2c48..036d4d8 100644
--- a/test/src/register_types.cpp
+++ b/test/src/register_types.cpp
@@ -1,32 +1,7 @@
-/*************************************************************************/
-/* register_types.cpp */
-/*************************************************************************/
-/* This file is part of: */
-/* GODOT ENGINE */
-/* https://godotengine.org */
-/*************************************************************************/
-/* Copyright (c) 2007-2022 Juan Linietsky, Ariel Manzur. */
-/* Copyright (c) 2014-2022 Godot Engine contributors (cf. AUTHORS.md). */
-/* */
-/* Permission is hereby granted, free of charge, to any person obtaining */
-/* a copy of this software and associated documentation files (the */
-/* "Software"), to deal in the Software without restriction, including */
-/* without limitation the rights to use, copy, modify, merge, publish, */
-/* distribute, sublicense, and/or sell copies of the Software, and to */
-/* permit persons to whom the Software is furnished to do so, subject to */
-/* the following conditions: */
-/* */
-/* The above copyright notice and this permission notice shall be */
-/* included in all copies or substantial portions of the Software. */
-/* */
-/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
-/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
-/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/
-/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
-/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
-/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
-/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
-/*************************************************************************/
+/* godot-cpp integration testing project.
+ *
+ * This is free and unencumbered software released into the public domain.
+ */
#include "register_types.h"
@@ -57,9 +32,7 @@ void uninitialize_example_module(ModuleInitializationLevel p_level) {
}
extern "C" {
-
// Initialization.
-
GDNativeBool GDN_EXPORT example_library_init(const GDNativeInterface *p_interface, const GDNativeExtensionClassLibraryPtr p_library, GDNativeInitialization *r_initialization) {
godot::GDExtensionBinding::InitObject init_obj(p_interface, p_library, r_initialization);