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
d386b353
Commit
d386b353
authored
Jun 09, 2014
by
take_cheeze
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix `Time.at` args spec.
parent
e070fce8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
mrbgems/mruby-time/src/time.c
mrbgems/mruby-time/src/time.c
+1
-1
No files found.
mrbgems/mruby-time/src/time.c
View file @
d386b353
...
@@ -713,7 +713,7 @@ mrb_mruby_time_gem_init(mrb_state* mrb)
...
@@ -713,7 +713,7 @@ mrb_mruby_time_gem_init(mrb_state* mrb)
tc
=
mrb_define_class
(
mrb
,
"Time"
,
mrb
->
object_class
);
tc
=
mrb_define_class
(
mrb
,
"Time"
,
mrb
->
object_class
);
MRB_SET_INSTANCE_TT
(
tc
,
MRB_TT_DATA
);
MRB_SET_INSTANCE_TT
(
tc
,
MRB_TT_DATA
);
mrb_include_module
(
mrb
,
tc
,
mrb_module_get
(
mrb
,
"Comparable"
));
mrb_include_module
(
mrb
,
tc
,
mrb_module_get
(
mrb
,
"Comparable"
));
mrb_define_class_method
(
mrb
,
tc
,
"at"
,
mrb_time_at
,
MRB_ARGS_
ANY
());
/* 15.2.19.6.1 */
mrb_define_class_method
(
mrb
,
tc
,
"at"
,
mrb_time_at
,
MRB_ARGS_
REQ
(
1
)
|
MRB_ARGS_OPT
(
1
));
/* 15.2.19.6.1 */
mrb_define_class_method
(
mrb
,
tc
,
"gm"
,
mrb_time_gm
,
MRB_ARGS_ARG
(
1
,
6
));
/* 15.2.19.6.2 */
mrb_define_class_method
(
mrb
,
tc
,
"gm"
,
mrb_time_gm
,
MRB_ARGS_ARG
(
1
,
6
));
/* 15.2.19.6.2 */
mrb_define_class_method
(
mrb
,
tc
,
"local"
,
mrb_time_local
,
MRB_ARGS_ARG
(
1
,
6
));
/* 15.2.19.6.3 */
mrb_define_class_method
(
mrb
,
tc
,
"local"
,
mrb_time_local
,
MRB_ARGS_ARG
(
1
,
6
));
/* 15.2.19.6.3 */
mrb_define_class_method
(
mrb
,
tc
,
"mktime"
,
mrb_time_local
,
MRB_ARGS_ARG
(
1
,
6
));
/* 15.2.19.6.4 */
mrb_define_class_method
(
mrb
,
tc
,
"mktime"
,
mrb_time_local
,
MRB_ARGS_ARG
(
1
,
6
));
/* 15.2.19.6.4 */
...
...
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