aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/luajit-2.0/src/lj_clib.h
diff options
context:
space:
mode:
authorDavid Walter Seikel2014-01-13 21:08:31 +1000
committerDavid Walter Seikel2014-01-13 21:08:31 +1000
commit637177eb1397ef1800027bccd50dbdc1af29a15b (patch)
tree3670a48303d05fceb8bf3ec4ee2901b72fe62d4d /libraries/luajit-2.0/src/lj_clib.h
parentUpdate Irrlicht to 1.8.1. Include actual change markers this time. lol (diff)
downloadSledjHamr-637177eb1397ef1800027bccd50dbdc1af29a15b.zip
SledjHamr-637177eb1397ef1800027bccd50dbdc1af29a15b.tar.gz
SledjHamr-637177eb1397ef1800027bccd50dbdc1af29a15b.tar.bz2
SledjHamr-637177eb1397ef1800027bccd50dbdc1af29a15b.tar.xz
Remove LuaJIT source, we can use packaged LuaJIT 2.0 release now.
Also some cleanups related to the other library removals.
Diffstat (limited to 'libraries/luajit-2.0/src/lj_clib.h')
-rw-r--r--libraries/luajit-2.0/src/lj_clib.h29
1 files changed, 0 insertions, 29 deletions
diff --git a/libraries/luajit-2.0/src/lj_clib.h b/libraries/luajit-2.0/src/lj_clib.h
deleted file mode 100644
index 51c3270..0000000
--- a/libraries/luajit-2.0/src/lj_clib.h
+++ /dev/null
@@ -1,29 +0,0 @@
1/*
2** FFI C library loader.
3** Copyright (C) 2005-2011 Mike Pall. See Copyright Notice in luajit.h
4*/
5
6#ifndef _LJ_CLIB_H
7#define _LJ_CLIB_H
8
9#include "lj_obj.h"
10
11#if LJ_HASFFI
12
13/* Namespace for C library indexing. */
14#define CLNS_INDEX ((1u<<CT_FUNC)|(1u<<CT_EXTERN)|(1u<<CT_CONSTVAL))
15
16/* C library namespace. */
17typedef struct CLibrary {
18 void *handle; /* Opaque handle for dynamic library loader. */
19 GCtab *cache; /* Cache for resolved symbols. Anchored in ud->env. */
20} CLibrary;
21
22LJ_FUNC TValue *lj_clib_index(lua_State *L, CLibrary *cl, GCstr *name);
23LJ_FUNC void lj_clib_load(lua_State *L, GCtab *mt, GCstr *name, int global);
24LJ_FUNC void lj_clib_unload(CLibrary *cl);
25LJ_FUNC void lj_clib_default(lua_State *L, GCtab *mt);
26
27#endif
28
29#endif