Topic was automatically imported from the old Question2Answer platform.
Asked By
SomeDev
hi, have some question about godot_headers that it have all the declarations about functions but doesn’t have any implementations how does that even compile in the first place? at runtime how it resolves them with c++ types and methods what under the hood? I’m so confused about how it works?
Have you worked with C/C++ before? If I recall, that’s a common programming practice.
Thats really common in C++ Development
you can find the “real” code in the godot-repo on GitHub. Godot Engine · GitHub
You can use the headers for example to build bindings.
And the bindings + Headers are used to compile Gd-native-Librarys. Those Library don’t have any life in it, until you throw them into the Engine.
But the main implementations of the hot stuff are always in the Codebase of the engine
I can recommend you to take a look at my Godot C++ Steam Guide. This will help you out to understand the possibilitys