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
f93dffb5
Unverified
Commit
f93dffb5
authored
Jun 15, 2020
by
Yukihiro "Matz" Matsumoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused `MRB_TT_FILE`.
parent
742117e7
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
14 deletions
+6
-14
include/mruby/boxing_word.h
include/mruby/boxing_word.h
+0
-1
include/mruby/value.h
include/mruby/value.h
+6
-10
mrbgems/mruby-objectspace/src/mruby_objectspace.c
mrbgems/mruby-objectspace/src/mruby_objectspace.c
+0
-1
src/etc.c
src/etc.c
+0
-1
src/object.c
src/object.c
+0
-1
No files found.
include/mruby/boxing_word.h
View file @
f93dffb5
...
...
@@ -137,7 +137,6 @@ MRB_API mrb_value mrb_word_boxing_float_pool(struct mrb_state*, mrb_float);
#define mrb_sclass_p(o) BOXWORD_OBJ_TYPE_P(o, SCLASS)
#define mrb_proc_p(o) BOXWORD_OBJ_TYPE_P(o, PROC)
#define mrb_range_p(o) BOXWORD_OBJ_TYPE_P(o, RANGE)
#define mrb_file_p(o) BOXWORD_OBJ_TYPE_P(o, FILE)
#define mrb_env_p(o) BOXWORD_OBJ_TYPE_P(o, ENV)
#define mrb_data_p(o) BOXWORD_OBJ_TYPE_P(o, DATA)
#define mrb_fiber_p(o) BOXWORD_OBJ_TYPE_P(o, FIBER)
...
...
include/mruby/value.h
View file @
f93dffb5
...
...
@@ -122,13 +122,12 @@ enum mrb_vtype {
MRB_TT_STRING
,
/* 16 */
MRB_TT_RANGE
,
/* 17 */
MRB_TT_EXCEPTION
,
/* 18 */
MRB_TT_FILE
,
/* 19 */
MRB_TT_ENV
,
/* 20 */
MRB_TT_DATA
,
/* 21 */
MRB_TT_FIBER
,
/* 22 */
MRB_TT_ISTRUCT
,
/* 23 */
MRB_TT_BREAK
,
/* 24 */
MRB_TT_MAXDEFINE
/* 25 */
MRB_TT_ENV
,
/* 19 */
MRB_TT_DATA
,
/* 20 */
MRB_TT_FIBER
,
/* 21 */
MRB_TT_ISTRUCT
,
/* 22 */
MRB_TT_BREAK
,
/* 23 */
MRB_TT_MAXDEFINE
/* 24 */
};
#include <mruby/object.h>
...
...
@@ -240,9 +239,6 @@ struct RCptr {
#ifndef mrb_range_p
#define mrb_range_p(o) (mrb_type(o) == MRB_TT_RANGE)
#endif
#ifndef mrb_file_p
#define mrb_file_p(o) (mrb_type(o) == MRB_TT_FILE)
#endif
#ifndef mrb_env_p
#define mrb_env_p(o) (mrb_type(o) == MRB_TT_ENV)
#endif
...
...
mrbgems/mruby-objectspace/src/mruby_objectspace.c
View file @
f93dffb5
...
...
@@ -89,7 +89,6 @@ os_count_objects(mrb_state *mrb, mrb_value self)
COUNT_TYPE
(
T_STRING
);
COUNT_TYPE
(
T_RANGE
);
COUNT_TYPE
(
T_EXCEPTION
);
COUNT_TYPE
(
T_FILE
);
COUNT_TYPE
(
T_ENV
);
COUNT_TYPE
(
T_DATA
);
COUNT_TYPE
(
T_FIBER
);
...
...
src/etc.c
View file @
f93dffb5
...
...
@@ -132,7 +132,6 @@ mrb_obj_id(mrb_value obj)
case
MRB_TT_HASH
:
case
MRB_TT_RANGE
:
case
MRB_TT_EXCEPTION
:
case
MRB_TT_FILE
:
case
MRB_TT_DATA
:
case
MRB_TT_ISTRUCT
:
default:
...
...
src/object.c
View file @
f93dffb5
...
...
@@ -366,7 +366,6 @@ static const struct types {
{
MRB_TT_STRING
,
"String"
},
{
MRB_TT_RANGE
,
"Range"
},
/* {MRB_TT_BIGNUM, "Bignum"}, */
{
MRB_TT_FILE
,
"File"
},
{
MRB_TT_DATA
,
"Data"
},
/* internal use: wrapped C pointers */
/* {MRB_TT_VARMAP, "Varmap"}, */
/* internal use: dynamic variables */
/* {MRB_TT_NODE, "Node"}, */
/* internal use: syntax tree node */
...
...
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