FFI: Record cdata index operations (preliminary, lots of NYI cases).
This commit is contained in:
@@ -10,6 +10,13 @@
|
||||
#include "lj_jit.h"
|
||||
|
||||
#if LJ_HASJIT
|
||||
/* Data used by handlers to record a fast function. */
|
||||
typedef struct RecordFFData {
|
||||
TValue *argv; /* Runtime argument values. */
|
||||
ptrdiff_t nres; /* Number of returned results (defaults to 1). */
|
||||
uint32_t data; /* Per-ffid auxiliary data (opcode, literal etc.). */
|
||||
} RecordFFData;
|
||||
|
||||
LJ_FUNC int32_t lj_ffrecord_select_mode(jit_State *J, TRef tr, TValue *tv);
|
||||
LJ_FUNC void lj_ffrecord_func(jit_State *J);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user