mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
symbol.c: remove mrb_sym_static_p() function that no one use.
This commit is contained in:
@@ -334,14 +334,6 @@ mrb_sym_name_len(mrb_state *mrb, mrb_sym sym, mrb_int *lenp)
|
||||
#endif
|
||||
}
|
||||
|
||||
mrb_bool
|
||||
mrb_sym_static_p(mrb_state *mrb, mrb_sym sym)
|
||||
{
|
||||
if (SYMBOL_INLINE_P(sym)) return TRUE;
|
||||
if (sym > MRB_PRESYM_MAX) return FALSE;
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
void
|
||||
mrb_free_symtbl(mrb_state *mrb)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user