Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #1841 from ksss/symbol-bool

set bool macro
  • Loading branch information...
commit 04dffc239be2aed8215ac673241b530eb6abc68b 2 parents f168e12 + a53dd33
@matz matz authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/symbol.c
View
4 src/symbol.c
@@ -72,13 +72,13 @@ sym_intern(mrb_state *mrb, const char *name, size_t len, int lit)
mrb_sym
mrb_intern(mrb_state *mrb, const char *name, size_t len)
{
- return sym_intern(mrb, name, len, 0);
+ return sym_intern(mrb, name, len, FALSE);
}
mrb_sym
mrb_intern_static(mrb_state *mrb, const char *name, size_t len)
{
- return sym_intern(mrb, name, len, 1);
+ return sym_intern(mrb, name, len, TRUE);
}
mrb_sym
Please sign in to comment.
Something went wrong with that request. Please try again.