src/lj_ff.h - luajit-2.0-src

Data types defined

Macros defined

Source code

  1. /*
  2. ** Fast function IDs.
  3. ** Copyright (C) 2005-2015 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