diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2003-04-02 10:09:14 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2003-04-02 10:09:14 -0300 |
commit | 05d35d8f3cdd54399afdbfc6a6d009196d81e51d (patch) | |
tree | 519a24e5bd9a98722762b60aa88775b1c38c2a45 | |
parent | 3a6230ef7c92473db9f2170b72294a8bcdb294e6 (diff) | |
download | lua-05d35d8f3cdd54399afdbfc6a6d009196d81e51d.tar.gz lua-05d35d8f3cdd54399afdbfc6a6d009196d81e51d.tar.bz2 lua-05d35d8f3cdd54399afdbfc6a6d009196d81e51d.zip |
comments
-rw-r--r-- | loadlib.c | 10 |
1 files changed, 2 insertions, 8 deletions
@@ -1,6 +1,6 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: loadlib.c,v 1.1 2003/03/17 13:01:48 roberto Exp roberto $ | 2 | ** $Id: loadlib.c,v 1.2 2003/03/18 12:25:01 roberto Exp roberto $ |
3 | ** Bare-bones 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 | * |
6 | * This Lua library exports a single function, called loadlib, which is | 6 | * This Lua library exports a single function, called loadlib, which is |
@@ -18,12 +18,6 @@ | |||
18 | * making decisions without having to look into the first string (whose | 18 | * making decisions without having to look into the first string (whose |
19 | * format is system-dependent). | 19 | * format is system-dependent). |
20 | * | 20 | * |
21 | * This bare-bones loadlib function is supposed to be used as a foundation | ||
22 | * for more sophisticated dynamic library loaders, possibly still called | ||
23 | * loadlib and probably written in Lua, that will be smart enough to try to | ||
24 | * find the library in different directories and also perhaps guess the name | ||
25 | * of the init function. | ||
26 | * | ||
27 | * This module contains an implementation of loadlib for Unix systems that | 21 | * This module contains an implementation of loadlib for Unix systems that |
28 | * have dlfcn, an implementation for Windows, and a stub for other systems. | 22 | * have dlfcn, an implementation for Windows, and a stub for other systems. |
29 | * See the list at the end of this file for some links to available | 23 | * See the list at the end of this file for some links to available |