native Lua  0.4.0
Lua on the platform you use with the compiler you choose
Macros | Functions
loadlib.c File Reference
#include "lprefix.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "lua.h"
#include "lauxlib.h"
#include "lualib.h"
Include dependency graph for loadlib.c:

Macros

#define loadlib_c
 
#define LUA_LIB
 
#define LUA_IGMARK   "-"
 
#define LUA_CSUBSEP   LUA_DIRSEP
 
#define LUA_LSUBSEP   LUA_DIRSEP
 
#define LUA_POF   "luaopen_"
 
#define LUA_OFSEP   "_"
 
#define LIB_FAIL   "open"
 
#define setprogdir(L)   ((void)0)
 
#define LIB_FAIL   "absent"
 
#define DLMSG   "dynamic libraries not enabled; check your Lua installation"
 
#define LUA_PATH_VAR   "LUA_PATH"
 
#define LUA_CPATH_VAR   "LUA_CPATH"
 
#define AUXMARK   "\1" /* auxiliary mark */
 
#define ERRLIB   1
 
#define ERRFUNC   2
 

Functions

LUAMOD_API int luaopen_package (lua_State *L)
 

Macro Definition Documentation

◆ AUXMARK

#define AUXMARK   "\1" /* auxiliary mark */

◆ DLMSG

#define DLMSG   "dynamic libraries not enabled; check your Lua installation"

◆ ERRFUNC

#define ERRFUNC   2

◆ ERRLIB

#define ERRLIB   1

◆ LIB_FAIL [1/2]

#define LIB_FAIL   "open"

◆ LIB_FAIL [2/2]

#define LIB_FAIL   "absent"

◆ loadlib_c

#define loadlib_c

◆ LUA_CPATH_VAR

#define LUA_CPATH_VAR   "LUA_CPATH"

◆ LUA_CSUBSEP

#define LUA_CSUBSEP   LUA_DIRSEP

◆ LUA_IGMARK

#define LUA_IGMARK   "-"

◆ LUA_LIB

#define LUA_LIB

◆ LUA_LSUBSEP

#define LUA_LSUBSEP   LUA_DIRSEP

◆ LUA_OFSEP

#define LUA_OFSEP   "_"

◆ LUA_PATH_VAR

#define LUA_PATH_VAR   "LUA_PATH"

◆ LUA_POF

#define LUA_POF   "luaopen_"

◆ setprogdir

#define setprogdir (   L)    ((void)0)

Function Documentation

◆ luaopen_package()

LUAMOD_API int luaopen_package ( lua_State L)