diff options
Diffstat (limited to '')
-rw-r--r-- | src/mime.h | 11 |
1 files changed, 2 insertions, 9 deletions
@@ -8,7 +8,7 @@ | |||
8 | * and formatting conforming to RFC 2045. It is used by mime.lua, which | 8 | * and formatting conforming to RFC 2045. It is used by mime.lua, which |
9 | * provide a higher level interface to this functionality. | 9 | * provide a higher level interface to this functionality. |
10 | \*=========================================================================*/ | 10 | \*=========================================================================*/ |
11 | #include "lua.h" | 11 | #include "luasocket.h" |
12 | 12 | ||
13 | /*-------------------------------------------------------------------------*\ | 13 | /*-------------------------------------------------------------------------*\ |
14 | * Current MIME library version | 14 | * Current MIME library version |
@@ -17,13 +17,6 @@ | |||
17 | #define MIME_COPYRIGHT "Copyright (C) 2004-2013 Diego Nehab" | 17 | #define MIME_COPYRIGHT "Copyright (C) 2004-2013 Diego Nehab" |
18 | #define MIME_AUTHORS "Diego Nehab" | 18 | #define MIME_AUTHORS "Diego Nehab" |
19 | 19 | ||
20 | /*-------------------------------------------------------------------------*\ | 20 | LUASOCKET_API int luaopen_mime_core(lua_State *L); |
21 | * This macro prefixes all exported API functions | ||
22 | \*-------------------------------------------------------------------------*/ | ||
23 | #ifndef MIME_API | ||
24 | #define MIME_API extern | ||
25 | #endif | ||
26 | |||
27 | MIME_API int luaopen_mime_core(lua_State *L); | ||
28 | 21 | ||
29 | #endif /* MIME_H */ | 22 | #endif /* MIME_H */ |