diff options
Diffstat (limited to '')
-rw-r--r-- | libraries/luajit-2.0/src/lj_crecord.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/libraries/luajit-2.0/src/lj_crecord.h b/libraries/luajit-2.0/src/lj_crecord.h new file mode 100644 index 0000000..fb042c5 --- /dev/null +++ b/libraries/luajit-2.0/src/lj_crecord.h | |||
@@ -0,0 +1,40 @@ | |||
1 | /* | ||
2 | ** Trace recorder for C data operations. | ||
3 | ** Copyright (C) 2005-2011 Mike Pall. See Copyright Notice in luajit.h | ||
4 | */ | ||
5 | |||
6 | #ifndef _LJ_CRECORD_H | ||
7 | #define _LJ_CRECORD_H | ||
8 | |||
9 | #include "lj_obj.h" | ||
10 | #include "lj_jit.h" | ||
11 | #include "lj_ffrecord.h" | ||
12 | |||
13 | #if LJ_HASJIT && LJ_HASFFI | ||
14 | LJ_FUNC void LJ_FASTCALL recff_cdata_index(jit_State *J, RecordFFData *rd); | ||
15 | LJ_FUNC void LJ_FASTCALL recff_cdata_call(jit_State *J, RecordFFData *rd); | ||
16 | LJ_FUNC void LJ_FASTCALL recff_cdata_arith(jit_State *J, RecordFFData *rd); | ||
17 | LJ_FUNC void LJ_FASTCALL recff_clib_index(jit_State *J, RecordFFData *rd); | ||
18 | LJ_FUNC void LJ_FASTCALL recff_ffi_new(jit_State *J, RecordFFData *rd); | ||
19 | LJ_FUNC void LJ_FASTCALL recff_ffi_errno(jit_State *J, RecordFFData *rd); | ||
20 | LJ_FUNC void LJ_FASTCALL recff_ffi_string(jit_State *J, RecordFFData *rd); | ||
21 | LJ_FUNC void LJ_FASTCALL recff_ffi_copy(jit_State *J, RecordFFData *rd); | ||
22 | LJ_FUNC void LJ_FASTCALL recff_ffi_fill(jit_State *J, RecordFFData *rd); | ||
23 | LJ_FUNC void LJ_FASTCALL recff_ffi_istype(jit_State *J, RecordFFData *rd); | ||
24 | LJ_FUNC void LJ_FASTCALL recff_ffi_abi(jit_State *J, RecordFFData *rd); | ||
25 | LJ_FUNC void LJ_FASTCALL lj_crecord_tonumber(jit_State *J, RecordFFData *rd); | ||
26 | #else | ||
27 | #define recff_cdata_index recff_nyi | ||
28 | #define recff_cdata_call recff_nyi | ||
29 | #define recff_cdata_arith recff_nyi | ||
30 | #define recff_clib_index recff_nyi | ||
31 | #define recff_ffi_new recff_nyi | ||
32 | #define recff_ffi_errno recff_nyi | ||
33 | #define recff_ffi_string recff_nyi | ||
34 | #define recff_ffi_copy recff_nyi | ||
35 | #define recff_ffi_fill recff_nyi | ||
36 | #define recff_ffi_istype recff_nyi | ||
37 | #define recff_ffi_abi recff_nyi | ||
38 | #endif | ||
39 | |||
40 | #endif | ||