diff options
| author | Yukihiro Matsumoto <[email protected]> | 2012-06-03 17:52:04 +0900 |
|---|---|---|
| committer | Yukihiro Matsumoto <[email protected]> | 2012-06-03 17:52:04 +0900 |
| commit | 4e46abb86914b36e70b5f3ad0826d0b648e9b4ef (patch) | |
| tree | d8bf4aac3d4a63dc6e7daef6761c1ca4b6cc6004 | |
| parent | 597978c1690ca25b6a1ca99f8dd4c70190765bea (diff) | |
| download | mruby-4e46abb86914b36e70b5f3ad0826d0b648e9b4ef.tar.gz mruby-4e46abb86914b36e70b5f3ad0826d0b648e9b4ef.zip | |
remove unused mrb_exec_recursive
| -rw-r--r-- | include/mruby.h | 2 | ||||
| -rw-r--r-- | src/etc.c | 8 |
2 files changed, 0 insertions, 10 deletions
diff --git a/include/mruby.h b/include/mruby.h index 70bbdf3c2..3dc160535 100644 --- a/include/mruby.h +++ b/include/mruby.h @@ -469,8 +469,6 @@ mrb_value mrb_yield_with_self(mrb_state *mrb, mrb_value b, int argc, mrb_value * mrb_value mrb_class_new_instance(mrb_state *mrb, int, mrb_value*, struct RClass *); mrb_value mrb_class_new_instance_m(mrb_state *mrb, mrb_value klass); -mrb_value mrb_exec_recursive(mrb_state *mrb, mrb_value(*)(mrb_state *, mrb_value, mrb_value, int),mrb_value,void *); - #ifndef xmalloc #define xmalloc malloc #define xrealloc realloc @@ -111,14 +111,6 @@ mrb_exec_recursive(mrb_state *mrb, mrb_value (*func) (mrb_state *, mrb_value, mr * current method is called recursively on the ordered pair <obj, paired_obj> */ -mrb_value -mrb_exec_recursive_paired(mrb_state *mrb, mrb_value (*func) (mrb_state *, mrb_value, mrb_value, int), - mrb_value obj, mrb_value paired_obj, void* arg) -{ - // return mrb_exec_recursive_paired(mrb, recursive_eql, hash1, hash2, mrb_fixnum_value((int)&data)); - return func(mrb, obj, paired_obj, 0); -} - mrb_sym mrb_to_id(mrb_state *mrb, mrb_value name) { |
