| 1 | /* |
|---|---|
| 2 | ** Fast function IDs. |
| 3 | ** Copyright (C) 2005-2021 Mike Pall. See Copyright Notice in luajit.h |
| 4 | */ |
| 5 | |
| 6 | #ifndef _LJ_FF_H |
| 7 | #define _LJ_FF_H |
| 8 | |
| 9 | /* Fast function ID. */ |
| 10 | typedef enum { |
| 11 | FF_LUA_ = FF_LUA, /* Lua function (must be 0). */ |
| 12 | FF_C_ = FF_C, /* Regular C function (must be 1). */ |
| 13 | #define FFDEF(name) FF_##name, |
| 14 | #include "lj_ffdef.h" |
| 15 | FF__MAX |
| 16 | } FastFunc; |
| 17 | |
| 18 | #endif |
| 19 |