summaryrefslogtreecommitdiffhomepage
path: root/include/mruby.h
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2017-10-17 15:22:45 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2017-10-17 15:22:45 +0900
commitb890528a183caf2f4161983a147508f65af8c700 (patch)
tree0f3101a78c9bb3c2d6b224cc64d28e4d307c71d4 /include/mruby.h
parent344a7ce20c5e59a07fec65732f56d232eca8eef0 (diff)
downloadmruby-b890528a183caf2f4161983a147508f65af8c700.tar.gz
mruby-b890528a183caf2f4161983a147508f65af8c700.zip
Remove `mrb_vm_get_argc`; ref #3826
Diffstat (limited to 'include/mruby.h')
-rw-r--r--include/mruby.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/mruby.h b/include/mruby.h
index 54ba0ead4..5c5a631e2 100644
--- a/include/mruby.h
+++ b/include/mruby.h
@@ -858,13 +858,6 @@ mrb_get_mid(mrb_state *mrb) /* get method symbol */
return mrb->c->ci->mid;
}
-/* returns -1 for *splat arguments */
-static inline mrb_int
-mrb_vm_get_argc(mrb_state *mrb) /* get argc */
-{
- return mrb->c->ci->argc;
-}
-
/**
* Retrieve number of arguments from mrb_state.
*