Updated projects for windows to generate dlls.
This commit is contained in:
parent
5ca1049ab4
commit
8841e0f3c1
6 changed files with 201 additions and 43 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue