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_carith.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_carith.h')
-rw-r--r-- | libraries/luajit-2.0/src/lj_carith.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/libraries/luajit-2.0/src/lj_carith.h b/libraries/luajit-2.0/src/lj_carith.h new file mode 100644 index 0000000..c39594a --- /dev/null +++ b/libraries/luajit-2.0/src/lj_carith.h | |||
@@ -0,0 +1,27 @@ | |||
1 | /* | ||
2 | ** C data arithmetic. | ||
3 | ** Copyright (C) 2005-2011 Mike Pall. See Copyright Notice in luajit.h | ||
4 | */ | ||
5 | |||
6 | #ifndef _LJ_CARITH_H | ||
7 | #define _LJ_CARITH_H | ||
8 | |||
9 | #include "lj_obj.h" | ||
10 | |||
11 | #if LJ_HASFFI | ||
12 | |||
13 | LJ_FUNC int lj_carith_op(lua_State *L, MMS mm); | ||
14 | |||
15 | #if LJ_32 && LJ_HASJIT | ||
16 | LJ_FUNC int64_t lj_carith_mul64(int64_t x, int64_t k); | ||
17 | #endif | ||
18 | LJ_FUNC uint64_t lj_carith_divu64(uint64_t a, uint64_t b); | ||
19 | LJ_FUNC int64_t lj_carith_divi64(int64_t a, int64_t b); | ||
20 | LJ_FUNC uint64_t lj_carith_modu64(uint64_t a, uint64_t b); | ||
21 | LJ_FUNC int64_t lj_carith_modi64(int64_t a, int64_t b); | ||
22 | LJ_FUNC uint64_t lj_carith_powu64(uint64_t x, uint64_t k); | ||
23 | LJ_FUNC int64_t lj_carith_powi64(int64_t x, int64_t k); | ||
24 | |||
25 | #endif | ||
26 | |||
27 | #endif | ||