mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Include stdio.h in mrbconf.h instead of C extension sources.
This commit is contained in:
@@ -110,4 +110,8 @@ typedef short mrb_sym;
|
||||
# include <inttypes.h>
|
||||
#endif
|
||||
|
||||
#ifdef ENABLE_STDIO
|
||||
# include <stdio.h>
|
||||
#endif
|
||||
|
||||
#endif /* MRUBYCONF_H */
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
|
||||
#include "mruby.h"
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
#include <ctype.h>
|
||||
#include "mruby/class.h"
|
||||
#include "mruby/proc.h"
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
|
||||
#include "mruby.h"
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
#include <setjmp.h>
|
||||
#include <string.h>
|
||||
#include "error.h"
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
#include "mruby/array.h"
|
||||
|
||||
#include <math.h>
|
||||
#include <stdio.h>
|
||||
#include <assert.h>
|
||||
|
||||
#if defined(__FreeBSD__) && __FreeBSD__ < 4
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
#include "mruby.h"
|
||||
#include <string.h>
|
||||
#include "mruby/string.h"
|
||||
#include <stdio.h>
|
||||
#include "mruby/class.h"
|
||||
#include "mruby/numeric.h"
|
||||
#include "error.h"
|
||||
|
||||
@@ -22,7 +22,6 @@
|
||||
#include "mruby/proc.h"
|
||||
#include "node.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <errno.h>
|
||||
#include <ctype.h>
|
||||
#include <string.h>
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
#include "mruby.h"
|
||||
#ifdef ENABLE_STDIO
|
||||
#include "mruby/string.h"
|
||||
#include <stdio.h>
|
||||
|
||||
static void
|
||||
printstr(mrb_state *mrb, mrb_value obj)
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
#include "mruby/array.h"
|
||||
#include "mruby/class.h"
|
||||
#include "mruby/numeric.h"
|
||||
#include <stdio.h>
|
||||
#include "re.h"
|
||||
|
||||
const char mrb_digitmap[] = "0123456789abcdefghijklmnopqrstuvwxyz";
|
||||
|
||||
Reference in New Issue
Block a user