diff options
Diffstat (limited to '')
-rw-r--r-- | gen/libraries.h | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/gen/libraries.h b/gen/libraries.h new file mode 100644 index 00000000..696a2c32 --- /dev/null +++ b/gen/libraries.h | |||
@@ -0,0 +1,51 @@ | |||
1 | /* automatically generated by bootstrap.tl */ | ||
2 | |||
3 | extern int luaopen_des56(lua_State* L); | ||
4 | extern int luaopen_md5_core(lua_State* L); | ||
5 | extern int luaopen_zlib(lua_State* L); | ||
6 | extern int luaopen_bz2(lua_State* L); | ||
7 | extern int luaopen_lfs(lua_State* L); | ||
8 | extern int luaopen_mime_core(lua_State* L); | ||
9 | extern int luaopen_socket_core(lua_State* L); | ||
10 | extern int luaopen_socket_serial(lua_State* L); | ||
11 | extern int luaopen_socket_unix(lua_State* L); | ||
12 | extern int luaopen_ssl_core(lua_State* L); | ||
13 | extern int luaopen_ssl_context(lua_State* L); | ||
14 | extern int luaopen_ssl_x509(lua_State* L); | ||
15 | extern int luaopen_ssl_config(lua_State* L); | ||
16 | extern int luaopen_miniposix(lua_State* L); | ||
17 | |||
18 | static void declare_libraries(lua_State* L) { | ||
19 | lua_getglobal(L, "package"); /* package */ | ||
20 | lua_getfield(L, -1, "preload"); /* package package.preload */ | ||
21 | lua_pushcfunction(L, luaopen_des56); | ||
22 | lua_setfield(L, -2, "des56"); | ||
23 | lua_pushcfunction(L, luaopen_md5_core); | ||
24 | lua_setfield(L, -2, "md5.core"); | ||
25 | lua_pushcfunction(L, luaopen_zlib); | ||
26 | lua_setfield(L, -2, "zlib"); | ||
27 | lua_pushcfunction(L, luaopen_bz2); | ||
28 | lua_setfield(L, -2, "bz2"); | ||
29 | lua_pushcfunction(L, luaopen_lfs); | ||
30 | lua_setfield(L, -2, "lfs"); | ||
31 | lua_pushcfunction(L, luaopen_mime_core); | ||
32 | lua_setfield(L, -2, "mime.core"); | ||
33 | lua_pushcfunction(L, luaopen_socket_core); | ||
34 | lua_setfield(L, -2, "socket.core"); | ||
35 | lua_pushcfunction(L, luaopen_socket_serial); | ||
36 | lua_setfield(L, -2, "socket.serial"); | ||
37 | lua_pushcfunction(L, luaopen_socket_unix); | ||
38 | lua_setfield(L, -2, "socket.unix"); | ||
39 | lua_pushcfunction(L, luaopen_ssl_core); | ||
40 | lua_setfield(L, -2, "ssl.core"); | ||
41 | lua_pushcfunction(L, luaopen_ssl_context); | ||
42 | lua_setfield(L, -2, "ssl.context"); | ||
43 | lua_pushcfunction(L, luaopen_ssl_x509); | ||
44 | lua_setfield(L, -2, "ssl.x509"); | ||
45 | lua_pushcfunction(L, luaopen_ssl_config); | ||
46 | lua_setfield(L, -2, "ssl.config"); | ||
47 | lua_pushcfunction(L, luaopen_miniposix); | ||
48 | lua_setfield(L, -2, "miniposix"); | ||
49 | lua_settop(L, 0); /* */ | ||
50 | } | ||
51 | |||