From efce5b6bd5c9d4f8214a71e0f7a7c35751710a4c Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 8 Nov 2021 01:17:11 +0800 Subject: + tolua + lpeg --- ThirdParty/tolua_runtime/luasocket/luasocket.h | 29 ++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 ThirdParty/tolua_runtime/luasocket/luasocket.h (limited to 'ThirdParty/tolua_runtime/luasocket/luasocket.h') diff --git a/ThirdParty/tolua_runtime/luasocket/luasocket.h b/ThirdParty/tolua_runtime/luasocket/luasocket.h new file mode 100644 index 0000000..f75d21f --- /dev/null +++ b/ThirdParty/tolua_runtime/luasocket/luasocket.h @@ -0,0 +1,29 @@ +#ifndef LUASOCKET_H +#define LUASOCKET_H +/*=========================================================================*\ +* LuaSocket toolkit +* Networking support for the Lua language +* Diego Nehab +* 9/11/1999 +\*=========================================================================*/ +#include "lua.h" + +/*-------------------------------------------------------------------------*\ +* Current socket library version +\*-------------------------------------------------------------------------*/ +#define LUASOCKET_VERSION "LuaSocket 3.0-rc1" +#define LUASOCKET_COPYRIGHT "Copyright (C) 1999-2013 Diego Nehab" + +/*-------------------------------------------------------------------------*\ +* This macro prefixes all exported API functions +\*-------------------------------------------------------------------------*/ +#ifndef LUASOCKET_API +#define LUASOCKET_API extern +#endif + +/*-------------------------------------------------------------------------*\ +* Initializes the library. +\*-------------------------------------------------------------------------*/ +LUASOCKET_API int luaopen_socket_core(lua_State *L); + +#endif /* LUASOCKET_H */ -- cgit v1.1-26-g67d0