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
72522f8e
Commit
72522f8e
authored
Sep 06, 2018
by
Yukihiro "Matz" Matsumoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove `Sleep` module that does not exist in CRuby.
parent
0b44e802
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
7 deletions
+1
-7
mrbgems/mruby-sleep/src/mrb_sleep.c
mrbgems/mruby-sleep/src/mrb_sleep.c
+1
-7
No files found.
mrbgems/mruby-sleep/src/mrb_sleep.c
View file @
72522f8e
/*
** mrb_sleep - sleep
clas
s for mruby
** mrb_sleep - sleep
method
s for mruby
**
** Copyright (c) mod_mruby developers 2012-
**
...
...
@@ -112,12 +112,6 @@ mrb_f_usleep(mrb_state *mrb, mrb_value self)
void
mrb_mruby_sleep_gem_init
(
mrb_state
*
mrb
)
{
struct
RClass
*
sleep
;
sleep
=
mrb_define_module
(
mrb
,
"Sleep"
);
mrb_define_class_method
(
mrb
,
sleep
,
"sleep"
,
mrb_f_sleep
,
MRB_ARGS_REQ
(
1
));
mrb_define_class_method
(
mrb
,
sleep
,
"usleep"
,
mrb_f_usleep
,
MRB_ARGS_REQ
(
1
));
mrb_define_method
(
mrb
,
mrb
->
kernel_module
,
"sleep"
,
mrb_f_sleep
,
MRB_ARGS_REQ
(
1
));
mrb_define_method
(
mrb
,
mrb
->
kernel_module
,
"usleep"
,
mrb_f_usleep
,
MRB_ARGS_REQ
(
1
));
}
...
...
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