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
fc8b48fa
Commit
fc8b48fa
authored
Jul 20, 2014
by
take_cheeze
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move word boxing structs to "mruby/boxing_word.h".
parent
a3ac3623
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
include/mruby/boxing_word.h
include/mruby/boxing_word.h
+10
-0
include/mruby/object.h
include/mruby/object.h
+0
-10
No files found.
include/mruby/boxing_word.h
View file @
fc8b48fa
...
...
@@ -11,6 +11,16 @@
# error MRB_INT16 is too small for MRB_WORD_BOXING.
#endif
struct
RFloat
{
MRB_OBJECT_HEADER
;
mrb_float
f
;
};
struct
RCptr
{
MRB_OBJECT_HEADER
;
void
*
p
;
};
#define MRB_FIXNUM_SHIFT 1
#define MRB_TT_HAS_BASIC MRB_TT_FLOAT
...
...
include/mruby/object.h
View file @
fc8b48fa
...
...
@@ -55,14 +55,4 @@ struct RFiber {
struct
mrb_context
*
cxt
;
};
struct
RFloat
{
MRB_OBJECT_HEADER
;
mrb_float
f
;
};
struct
RCptr
{
MRB_OBJECT_HEADER
;
void
*
p
;
};
#endif
/* MRUBY_OBJECT_H */
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