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
079aff17
Commit
079aff17
authored
Nov 13, 2019
by
Yukihiro "Matz" Matsumoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert
a76dc04a
to resolve #4820
parent
37c8cbe7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
src/kernel.c
src/kernel.c
+0
-4
No files found.
src/kernel.c
View file @
079aff17
...
...
@@ -685,7 +685,6 @@ mrb_method_missing(mrb_state *mrb, mrb_sym name, mrb_value self, mrb_value args)
* r.xxiii #=> 23
* r.mm #=> 2000
*/
#ifdef MRB_DEFAULT_METHOD_MISSING
static
mrb_value
mrb_obj_missing
(
mrb_state
*
mrb
,
mrb_value
mod
)
{
...
...
@@ -698,7 +697,6 @@ mrb_obj_missing(mrb_state *mrb, mrb_value mod)
/* not reached */
return
mrb_nil_value
();
}
#endif
static
inline
mrb_bool
basic_obj_respond_to
(
mrb_state
*
mrb
,
mrb_value
obj
,
mrb_sym
id
,
int
pub
)
...
...
@@ -791,9 +789,7 @@ mrb_init_kernel(mrb_state *mrb)
mrb_define_method
(
mrb
,
krn
,
"is_a?"
,
mrb_obj_is_kind_of_m
,
MRB_ARGS_REQ
(
1
));
/* 15.3.1.3.24 */
mrb_define_method
(
mrb
,
krn
,
"iterator?"
,
mrb_f_block_given_p_m
,
MRB_ARGS_NONE
());
/* 15.3.1.3.25 */
mrb_define_method
(
mrb
,
krn
,
"kind_of?"
,
mrb_obj_is_kind_of_m
,
MRB_ARGS_REQ
(
1
));
/* 15.3.1.3.26 */
#ifdef MRB_DEFAULT_METHOD_MISSING
mrb_define_method
(
mrb
,
krn
,
"method_missing"
,
mrb_obj_missing
,
MRB_ARGS_ANY
());
/* 15.3.1.3.30 */
#endif
mrb_define_method
(
mrb
,
krn
,
"nil?"
,
mrb_false
,
MRB_ARGS_NONE
());
/* 15.3.1.3.32 */
mrb_define_method
(
mrb
,
krn
,
"object_id"
,
mrb_obj_id_m
,
MRB_ARGS_NONE
());
/* 15.3.1.3.33 */
mrb_define_method
(
mrb
,
krn
,
"raise"
,
mrb_f_raise
,
MRB_ARGS_ANY
());
/* 15.3.1.3.40 */
...
...
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