Ver código fonte

Merge branch 'master' of https://github.com/defold/doc

Björn Ritzl 6 anos atrás
pai
commit
1568c9146d
2 arquivos alterados com 2 adições e 0 exclusões
  1. 1 0
      docs/en/manuals/extensions.md
  2. 1 0
      docs/ko/manuals/extensions.md

+ 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)
 {