ejoy / ejoy2d

A 2D Graphics Engine for Mobile Game
MIT License
1.98k stars 641 forks source link

the source still use the system Lua lib header files #61

Closed Tsiannian closed 10 years ago

Tsiannian commented 10 years ago

since we embed the Lua lib, we should include the header files like this:

#include "lua.h"
#include "lauxlib.h"
#include "lualib.h"
cloudwu commented 10 years ago

include "" only used to load header files in the same directory with the source files (the same module) to avoid name conflict.

lua is a independent module, and lua.h (and other .h files) is in the separated directory.