Files
mruby-mruby/include/mruby/presym.h
T
Yukihiro "Matz" Matsumoto eddd324979 Add MRB_SYM() for inline symbols.
2020-10-12 16:20:41 +09:00

20 lines
383 B
C

/**
** @file mruby/presym.h - Preallocated Symbols
**
** See Copyright Notice in mruby.h
*/
#ifndef MRUBY_PRESYM_H
#define MRUBY_PRESYM_H
#undef MRB_PRESYM_MAX
#define MRB_PRESYM_CSYM(sym, num) MRB_PRESYM__##sym = (num<<1),
#define MRB_PRESYM_SYM(sym, num)
enum mruby_presym {
#include <../build/presym.inc>
};
#define MRB_SYM(sym) MRB_PRESYM__##sym
#endif /* MRUBY_PRESYM_H */