2
0
Эх сурвалжийг харах

Include fix in native extension example

mathiaswking 6 жил өмнө
parent
commit
69e3f5b513

+ 1 - 0
docs/en/manuals/extensions.md

@@ -71,6 +71,7 @@ The extension source file contains the following code:
 
 // include the Defold SDK
 #include <dmsdk/sdk.h>
+#include <malloc.h>
 
 static int Rot13(lua_State* L)
 {

+ 1 - 0
docs/ko/manuals/extensions.md

@@ -52,6 +52,7 @@ Defold 에디터는 기본적으로 .cpp 파일을 열 수 없으므로 파일
 
 // include the Defold SDK
 #include <dmsdk/sdk.h>
+#include <malloc.h>
 
 static int Rot13(lua_State* L)
 {