Remove string.h in khash.h

This commit is contained in:
Masaki Muranaka
2013-03-16 17:48:30 +09:00
parent 1bb447a7d3
commit 7de2deab1e
3 changed files with 2 additions and 2 deletions
-1
View File
@@ -12,7 +12,6 @@ extern "C" {
#endif
#include <stdint.h>
#include <string.h>
typedef uint32_t khint_t;
typedef khint_t khiter_t;
+1
View File
@@ -7,6 +7,7 @@
#include "mruby.h"
#include <stdarg.h>
#include <ctype.h>
#include <string.h>
#include "mruby/class.h"
#include "mruby/proc.h"
#include "mruby/string.h"
+1 -1
View File
@@ -68,7 +68,7 @@ MRuby.each_target do
f.puts %Q[ ]
f.puts %Q[ while(mrb_test(val2)) {]
f.puts %Q[ char *str = mrb_string_value_cstr(mrb2, &val2);]
f.puts %Q[ mrb_ary_push(mrb, ary1, mrb_str_new(mrb, str, strlen(str)));]
f.puts %Q[ mrb_ary_push(mrb, ary1, mrb_str_new_cstr(mrb, str));]
f.puts %Q[ val2 = mrb_ary_shift(mrb2, ary2);]
f.puts %Q[ }]
f.puts %Q[ }]