mirror of
https://github.com/lunarmodules/luasocket.git
synced 2025-07-19 07:19:58 +02:00
Updated projects for windows to generate dlls.
This commit is contained in:
@ -74,7 +74,7 @@ static UC b64unbase[256];
|
||||
/*-------------------------------------------------------------------------*\
|
||||
* Initializes module
|
||||
\*-------------------------------------------------------------------------*/
|
||||
int luaopen_mime(lua_State *L)
|
||||
MIME_API int luaopen_mime(lua_State *L)
|
||||
{
|
||||
lua_pushstring(L, MIME_LIBNAME);
|
||||
lua_setglobal(L, "MIME_LIBNAME");
|
||||
|
@ -12,7 +12,14 @@
|
||||
\*=========================================================================*/
|
||||
#include <lua.h>
|
||||
|
||||
int luaopen_mime(lua_State *L);
|
||||
/*-------------------------------------------------------------------------*\
|
||||
* This macro prefixes all exported API functions
|
||||
\*-------------------------------------------------------------------------*/
|
||||
#ifndef MIME_API
|
||||
#define MIME_API extern
|
||||
#endif
|
||||
|
||||
MIME_API int luaopen_mime(lua_State *L);
|
||||
|
||||
/*-------------------------------------------------------------------------*\
|
||||
* Library's namespace
|
||||
|
Reference in New Issue
Block a user