summaryrefslogtreecommitdiff
path: root/libs/luajit-cmake/luajit/src/lj_ff.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/luajit-cmake/luajit/src/lj_ff.h')
-rw-r--r--libs/luajit-cmake/luajit/src/lj_ff.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/libs/luajit-cmake/luajit/src/lj_ff.h b/libs/luajit-cmake/luajit/src/lj_ff.h
new file mode 100644
index 0000000..d00c32f
--- /dev/null
+++ b/libs/luajit-cmake/luajit/src/lj_ff.h
@@ -0,0 +1,18 @@
+/*
+** Fast function IDs.
+** Copyright (C) 2005-2022 Mike Pall. See Copyright Notice in luajit.h
+*/
+
+#ifndef _LJ_FF_H
+#define _LJ_FF_H
+
+/* Fast function ID. */
+typedef enum {
+ FF_LUA_ = FF_LUA, /* Lua function (must be 0). */
+ FF_C_ = FF_C, /* Regular C function (must be 1). */
+#define FFDEF(name) FF_##name,
+#include "lj_ffdef.h"
+ FF__MAX
+} FastFunc;
+
+#endif