diff options
author | E. Westbrook <github@westbrook.io> | 2019-02-25 15:55:04 -0700 |
---|---|---|
committer | E. Westbrook <github@westbrook.io> | 2019-02-25 15:55:04 -0700 |
commit | efc4bb3e2df90732d46b8b1cdae18c8173bad07b (patch) | |
tree | e0e5a09b41fc6d3a7b46dc50df0db5072ddbd856 | |
parent | f06b17c4c918e1132ae78d1075c8c9654fdc016d (diff) | |
download | luasocket-efc4bb3e2df90732d46b8b1cdae18c8173bad07b.tar.gz luasocket-efc4bb3e2df90732d46b8b1cdae18c8173bad07b.tar.bz2 luasocket-efc4bb3e2df90732d46b8b1cdae18c8173bad07b.zip |
mime.h: use LUASOCKET_API
-rw-r--r-- | src/mime.h | 10 |
1 files changed, 2 insertions, 8 deletions
@@ -8,6 +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 "luasocket.h" | ||
11 | #include "lua.h" | 12 | #include "lua.h" |
12 | 13 | ||
13 | /*-------------------------------------------------------------------------*\ | 14 | /*-------------------------------------------------------------------------*\ |
@@ -17,13 +18,6 @@ | |||
17 | #define MIME_COPYRIGHT "Copyright (C) 2004-2013 Diego Nehab" | 18 | #define MIME_COPYRIGHT "Copyright (C) 2004-2013 Diego Nehab" |
18 | #define MIME_AUTHORS "Diego Nehab" | 19 | #define MIME_AUTHORS "Diego Nehab" |
19 | 20 | ||
20 | /*-------------------------------------------------------------------------*\ | 21 | 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 | 22 | ||
29 | #endif /* MIME_H */ | 23 | #endif /* MIME_H */ |