Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mruby
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
mruby
Commits
76593ee0
Commit
76593ee0
authored
May 17, 2014
by
yui-knk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add comment to Fixnum Class.
parent
a1a5eae9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
src/numeric.c
src/numeric.c
+1
-0
No files found.
src/numeric.c
View file @
76593ee0
...
...
@@ -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 */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment