diff options
| author | yui-knk <[email protected]> | 2014-05-17 13:51:16 +0900 |
|---|---|---|
| committer | yui-knk <[email protected]> | 2014-05-17 13:51:16 +0900 |
| commit | 76593ee0e7deb1f100c64f72cca8532e0cbdf79e (patch) | |
| tree | ab6fd8b2ed85292889ab866064bc56a2b3756c1b /src | |
| parent | a1a5eae9257aee352f992e5b26c1fa2c0f5cf0e0 (diff) | |
| download | mruby-76593ee0e7deb1f100c64f72cca8532e0cbdf79e.tar.gz mruby-76593ee0e7deb1f100c64f72cca8532e0cbdf79e.zip | |
Add comment to Fixnum Class.
Diffstat (limited to 'src')
| -rw-r--r-- | src/numeric.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/numeric.c b/src/numeric.c index b3daddf85..db1e7d0f4 100644 --- a/src/numeric.c +++ b/src/numeric.c @@ -1308,6 +1308,7 @@ mrb_init_numeric(mrb_state *mrb) mrb_define_method(mrb, integer, "to_i", int_to_i, MRB_ARGS_NONE()); /* 15.2.8.3.24 */ mrb_define_method(mrb, integer, "to_int", int_to_i, MRB_ARGS_NONE()); + /* Fixnum Class */ fixnum = mrb->fixnum_class = mrb_define_class(mrb, "Fixnum", integer); mrb_define_method(mrb, fixnum, "+", fix_plus, MRB_ARGS_REQ(1)); /* 15.2.8.3.1 */ mrb_define_method(mrb, fixnum, "-", fix_minus, MRB_ARGS_REQ(1)); /* 15.2.8.3.2 */ |
