The Defold SDK contains the required functionality to declare a native extension as well as interface with the low-level native platform layer on which the application runs and the high-level Lua layer in which the game logic is created.
You use the Defold SDK by including the dmsdk/sdk.h
header file:
#include <dmsdk/sdk.h>
The available SDK functions and namespaces are documented in our API reference. The Defold SDK headers are included as a separate defoldsdk_headers.zip
archive for each Defold release on GitHub. You can use these headers for code completion in your editor of choice.
Did you spot an error or do you have a suggestion? Please let us know on GitHub!
GITHUB