From a6f465f55802989c1656d1a3b030c315c8ef2690 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 24 Nov 2009 10:05:44 -0200 Subject: new mark LUAMOD_API for all luaopen_* functions --- luaconf.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'luaconf.h') diff --git a/luaconf.h b/luaconf.h index d3454d3b..3d2edf8f 100644 --- a/luaconf.h +++ b/luaconf.h @@ -1,5 +1,5 @@ /* -** $Id: luaconf.h,v 1.114 2009/11/19 16:26:52 roberto Exp roberto $ +** $Id: luaconf.h,v 1.115 2009/11/19 19:06:52 roberto Exp roberto $ ** Configuration file for Lua ** See Copyright Notice in lua.h */ @@ -143,7 +143,8 @@ /* @@ LUA_API is a mark for all core API functions. -@@ LUALIB_API is a mark for all standard library functions. +@@ LUALIB_API is a mark for all auxiliary library functions. +@@ LUAMOD_API is a mark for all standard library opening functions. ** CHANGE them if you need to define those functions in some special way. ** For instance, if you want to create one Windows DLL with the core and ** the libraries, you may want to use the following definition (define @@ -165,6 +166,7 @@ /* more often than not the libs go together with the core */ #define LUALIB_API LUA_API +#define LUAMOD_API LUALIB_API /* -- cgit v1.2.3-55-g6feb