summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/mruby/proc.h2
-rw-r--r--include/mruby/string.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/include/mruby/proc.h b/include/mruby/proc.h
index f05813b78..39f5eca22 100644
--- a/include/mruby/proc.h
+++ b/include/mruby/proc.h
@@ -17,7 +17,7 @@ struct REnv {
MRB_OBJECT_HEADER;
mrb_value *stack;
mrb_sym mid;
- int cioff;
+ ptrdiff_t cioff;
};
#define MRB_ENV_STACK_LEN(e) ((e)->flags)
diff --git a/include/mruby/string.h b/include/mruby/string.h
index 00122e7b3..dd73f5f1e 100644
--- a/include/mruby/string.h
+++ b/include/mruby/string.h
@@ -69,7 +69,6 @@ mrb_value mrb_str_buf_new(mrb_state *mrb, size_t capa);
char *mrb_string_value_cstr(mrb_state *mrb, mrb_value *ptr);
char *mrb_string_value_ptr(mrb_state *mrb, mrb_value ptr);
-int mrb_str_offset(mrb_state *mrb, mrb_value str, int pos);
mrb_value mrb_str_dup(mrb_state *mrb, mrb_value str);
mrb_value mrb_str_intern(mrb_state *mrb, mrb_value self);
mrb_value mrb_str_to_inum(mrb_state *mrb, mrb_value str, mrb_int base, mrb_bool badcheck);