From a3b568f46080fabc263c237380f9a0e8cb7aba91 Mon Sep 17 00:00:00 2001 From: Sergey Lyubka <valenok@gmail.com> Date: Mon, 8 Sep 2014 23:22:46 +0100 Subject: [PATCH] removed lua_ddl.c --- examples/lua_dll.c | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 examples/lua_dll.c diff --git a/examples/lua_dll.c b/examples/lua_dll.c deleted file mode 100644 index 64c3ef46a..000000000 --- a/examples/lua_dll.c +++ /dev/null @@ -1,17 +0,0 @@ -#include <stdio.h> -#include "lua_5.2.1.h" - -static int smile(lua_State *L) { - (void) L; // Unused - printf("%s\n", ":-)"); - return 0; -} - -int LUA_API luaopen_lua_dll(lua_State *L) { - static const struct luaL_Reg api[] = { - {"smile", smile}, - {NULL, NULL}, - }; - luaL_openlib(L, "lua_dll", api, 0); - return 1; -} -- GitLab