diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-03-09 13:28:07 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-03-09 13:28:07 -0300 |
| commit | 370d31a5593220723d222dec6e3e4019decc3309 (patch) | |
| tree | e04ad903d079da2feea0b1759e89b65d1a70815c /loadlib.c | |
| parent | f8df21bd2071c4e3729d37d1552f54ca2742551a (diff) | |
| download | lua-370d31a5593220723d222dec6e3e4019decc3309.tar.gz lua-370d31a5593220723d222dec6e3e4019decc3309.tar.bz2 lua-370d31a5593220723d222dec6e3e4019decc3309.zip | |
`luac“ -> `luai' (to avoid confusion with other luac stuff)
Diffstat (limited to 'loadlib.c')
| -rw-r--r-- | loadlib.c | 8 |
1 files changed, 4 insertions, 4 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: loadlib.c,v 1.19 2005/03/07 18:07:34 roberto Exp roberto $ | 2 | ** $Id: loadlib.c,v 1.20 2005/03/08 20:10:05 roberto Exp roberto $ |
| 3 | ** Dynamic library loader for Lua | 3 | ** Dynamic library loader for Lua |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | * | 5 | * |
| @@ -33,7 +33,7 @@ static lua_CFunction ll_sym (lua_State *L, void *lib, const char *sym); | |||
| 33 | 33 | ||
| 34 | 34 | ||
| 35 | 35 | ||
| 36 | #if defined(LUA_USEDLOPEN) | 36 | #if defined(LUA_USE_DLOPEN) |
| 37 | /* | 37 | /* |
| 38 | ** {======================================================================== | 38 | ** {======================================================================== |
| 39 | ** This is an implementation of loadlib based on the dlfcn interface. | 39 | ** This is an implementation of loadlib based on the dlfcn interface. |
| @@ -67,7 +67,7 @@ static lua_CFunction ll_sym (lua_State *L, void *lib, const char *sym) { | |||
| 67 | 67 | ||
| 68 | 68 | ||
| 69 | 69 | ||
| 70 | #elif defined(LUA_USEDLL) | 70 | #elif defined(LUA_USE_DLL) |
| 71 | /* | 71 | /* |
| 72 | ** {====================================================================== | 72 | ** {====================================================================== |
| 73 | ** This is an implementation of loadlib for Windows using native functions. | 73 | ** This is an implementation of loadlib for Windows using native functions. |
| @@ -109,7 +109,7 @@ static lua_CFunction ll_sym (lua_State *L, void *lib, const char *sym) { | |||
| 109 | 109 | ||
| 110 | 110 | ||
| 111 | 111 | ||
| 112 | #elif defined(LUA_USEDYLD) | 112 | #elif defined(LUA_USE_DYLD) |
| 113 | /* | 113 | /* |
| 114 | ** {====================================================================== | 114 | ** {====================================================================== |
| 115 | ** Native Mac OS X / Darwin Implementation | 115 | ** Native Mac OS X / Darwin Implementation |
