lj_ff.h 364 B

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