Initialize uv->immutable for upvalues of loaded chunks.
[luajit-2.0.git] / src / lj_ff.h
blob9af3b12d2651a41d82551c3d0b8eaa75d1478f36
1 /*
2 ** Fast function IDs.
3 ** Copyright (C) 2005-2016 Mike Pall. See Copyright Notice in luajit.h
4 */
6 #ifndef _LJ_FF_H
7 #define _LJ_FF_H
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;
18 #endif