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
d8e0fbab
Commit
d8e0fbab
authored
Jun 19, 2012
by
Yukihiro Matsumoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
forgot to replace INLCUDE_KERNEL_SPRINTF by ENABLE_KERNEL_SPRINTF
parent
3d5c9521
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
src/kernel.c
src/kernel.c
+1
-1
src/sprintf.c
src/sprintf.c
+2
-2
No files found.
src/kernel.c
View file @
d8e0fbab
...
...
@@ -1354,7 +1354,7 @@ mrb_init_kernel(mrb_state *mrb)
mrb_define_method
(
mrb
,
krn
,
"singleton_methods"
,
mrb_obj_singleton_methods_m
,
ARGS_ANY
());
/* 15.3.1.3.45 */
mrb_define_method
(
mrb
,
krn
,
"to_s"
,
mrb_any_to_s
,
ARGS_NONE
());
/* 15.3.1.3.46 */
#ifdef
INCLUD
E_KERNEL_SPRINTF
#ifdef
ENABL
E_KERNEL_SPRINTF
mrb_define_method
(
mrb
,
krn
,
"sprintf"
,
mrb_f_sprintf
,
ARGS_ANY
());
/* in sprintf.c */
mrb_define_method
(
mrb
,
krn
,
"format"
,
mrb_f_sprintf
,
ARGS_ANY
());
/* in sprintf.c */
#endif
...
...
src/sprintf.c
View file @
d8e0fbab
...
...
@@ -6,7 +6,7 @@
#include "mruby.h"
#ifdef
INCLUD
E_KERNEL_SPRINTF
#ifdef
ENABL
E_KERNEL_SPRINTF
#include <stdio.h>
#include <string.h>
...
...
@@ -1082,4 +1082,4 @@ fmt_setup(char *buf, size_t size, int c, int flags, int width, int prec)
*
buf
=
'\0'
;
}
#endif
//INCLUDE_KERNEL_SPRINTF
#endif
/* ENABLE_KERNEL_SPRINTF */
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