mirror of
https://github.com/lua/lua.git
synced 2026-01-26 15:39:12 +00:00
- LUAMOD_API defined as 'extern "C"' in C++. - "ANSI C" is in fact "ISO C" (comments) - Removed option -std from makefile in testes/libs. (Easier to change to C++ for tests).
11 lines
164 B
C
11 lines
164 B
C
#include "lua.h"
|
|
|
|
/* function from lib1.c */
|
|
LUAMOD_API int lib1_export (lua_State *L);
|
|
|
|
LUAMOD_API int luaopen_lib11 (lua_State *L) {
|
|
return lib1_export(L);
|
|
}
|
|
|
|
|