Skip to content

Commit 8f4277b

Browse files
author
John
committed
Remove erroneous include guard
The tail end of an include guard is provided within the defs.h code blocks, however #pragma once is used at the top instead.
1 parent e4d463e commit 8f4277b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

tutorials/scripting/gdextension/gdextension_c_example.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -500,8 +500,6 @@ in the appropriately named ``defs.h`` file:
500500
uint8_t data[STRING_NAME_SIZE];
501501
} StringName;
502502
503-
#endif // DEFS_H
504-
505503
As mentioned in the comment, the sizes can be found in the
506504
``extension_api.json`` file that we generated earlier, under the
507505
``builtin_class_sizes`` property. The ``BUILD_32`` is never defined, as we

0 commit comments

Comments
 (0)