diff options
author | Mike Pall <mike> | 2011-01-26 21:46:02 +0100 |
---|---|---|
committer | Mike Pall <mike> | 2011-01-26 21:46:02 +0100 |
commit | 3184f1716925f96b3d56c2795a0769bb3463f54e (patch) | |
tree | c9364c781e88b321ac4caffa566ccb5fa6659f83 /src/lj_carith.h | |
parent | 2526498c7126f3e60d1f3a8d72c97bf20bf4a49e (diff) | |
download | luajit-3184f1716925f96b3d56c2795a0769bb3463f54e.tar.gz luajit-3184f1716925f96b3d56c2795a0769bb3463f54e.tar.bz2 luajit-3184f1716925f96b3d56c2795a0769bb3463f54e.zip |
FFI: Move code for cdata arithmetic to lj_carith.c.
Diffstat (limited to 'src/lj_carith.h')
-rw-r--r-- | src/lj_carith.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/lj_carith.h b/src/lj_carith.h new file mode 100644 index 00000000..acb095db --- /dev/null +++ b/src/lj_carith.h | |||
@@ -0,0 +1,19 @@ | |||
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 | LJ_FUNC uint64_t lj_carith_powi64(uint64_t x, uint64_t k, int isunsigned); | ||
16 | |||
17 | #endif | ||
18 | |||
19 | #endif | ||