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
4d6f5be1
Unverified
Commit
4d6f5be1
authored
May 13, 2021
by
Yukihiro "Matz" Matsumoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mruby-test: `MRB_INT_MAX` etc. may not fit in `Fixnum` (inline int).
parent
5f9f26f6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
mrbgems/mruby-test/driver.c
mrbgems/mruby-test/driver.c
+3
-3
No files found.
mrbgems/mruby-test/driver.c
View file @
4d6f5be1
...
...
@@ -220,9 +220,9 @@ mrb_init_test_driver(mrb_state *mrb, mrb_bool verbose)
mrbtest
=
mrb_define_module
(
mrb
,
"Mrbtest"
);
mrb_define_const
(
mrb
,
mrbtest
,
"FIXNUM_MAX"
,
mrb_
fixnum_value
(
MRB_INT_MAX
));
mrb_define_const
(
mrb
,
mrbtest
,
"FIXNUM_MIN"
,
mrb_
fixnum_value
(
MRB_INT_MIN
));
mrb_define_const
(
mrb
,
mrbtest
,
"FIXNUM_BIT"
,
mrb_
fixnum_value
(
MRB_INT_BIT
));
mrb_define_const
(
mrb
,
mrbtest
,
"FIXNUM_MAX"
,
mrb_
int_value
(
mrb
,
MRB_INT_MAX
));
mrb_define_const
(
mrb
,
mrbtest
,
"FIXNUM_MIN"
,
mrb_
int_value
(
mrb
,
MRB_INT_MIN
));
mrb_define_const
(
mrb
,
mrbtest
,
"FIXNUM_BIT"
,
mrb_
int_value
(
mrb
,
MRB_INT_BIT
));
#ifndef MRB_NO_FLOAT
#ifdef MRB_USE_FLOAT32
...
...
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