diff options
author | David Walter Seikel | 2012-01-23 23:36:30 +1000 |
---|---|---|
committer | David Walter Seikel | 2012-01-23 23:36:30 +1000 |
commit | 6523585c66c04cea54df50013df8886b589847d8 (patch) | |
tree | 0b22aee7064166d88595eda260ca2d17c0773da5 /libraries/luajit-2.0/src/lj_ccallback.h | |
parent | Update the EFL to what I'm actually using, coz I'm using some stuff not yet r... (diff) | |
download | SledjHamr-6523585c66c04cea54df50013df8886b589847d8.zip SledjHamr-6523585c66c04cea54df50013df8886b589847d8.tar.gz SledjHamr-6523585c66c04cea54df50013df8886b589847d8.tar.bz2 SledjHamr-6523585c66c04cea54df50013df8886b589847d8.tar.xz |
Add luaproc and LuaJIT libraries.
Two versions of LuaJIT, the stable release, and the dev version. Try the dev version first, until ih fails badly.
Diffstat (limited to 'libraries/luajit-2.0/src/lj_ccallback.h')
-rw-r--r-- | libraries/luajit-2.0/src/lj_ccallback.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/libraries/luajit-2.0/src/lj_ccallback.h b/libraries/luajit-2.0/src/lj_ccallback.h new file mode 100644 index 0000000..cbdc1e8 --- /dev/null +++ b/libraries/luajit-2.0/src/lj_ccallback.h | |||
@@ -0,0 +1,25 @@ | |||
1 | /* | ||
2 | ** FFI C callback handling. | ||
3 | ** Copyright (C) 2005-2011 Mike Pall. See Copyright Notice in luajit.h | ||
4 | */ | ||
5 | |||
6 | #ifndef _LJ_CCALLBACK_H | ||
7 | #define _LJ_CCALLBACK_H | ||
8 | |||
9 | #include "lj_obj.h" | ||
10 | #include "lj_ctype.h" | ||
11 | |||
12 | #if LJ_HASFFI | ||
13 | |||
14 | /* Really belongs to lj_vm.h. */ | ||
15 | LJ_ASMF void lj_vm_ffi_callback(void); | ||
16 | |||
17 | LJ_FUNC MSize lj_ccallback_ptr2slot(CTState *cts, void *p); | ||
18 | LJ_FUNCA lua_State * LJ_FASTCALL lj_ccallback_enter(CTState *cts, void *cf); | ||
19 | LJ_FUNCA void LJ_FASTCALL lj_ccallback_leave(CTState *cts, TValue *o); | ||
20 | LJ_FUNC void *lj_ccallback_new(CTState *cts, CType *ct, GCfunc *fn); | ||
21 | LJ_FUNC void lj_ccallback_mcode_free(CTState *cts); | ||
22 | |||
23 | #endif | ||
24 | |||
25 | #endif | ||