1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

ruby.h: HAVE_RB_SCAN_ARGS_OPTIONAL_HASH

* include/ruby/ruby.h (HAVE_RB_SCAN_ARGS_OPTIONAL_HASH): for
  rb_scan_args() optional hash feature.  [Bug #7861]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2013-02-20 10:27:04 +00:00
parent 52911974f8
commit 57bccfa900
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,8 @@
Wed Feb 20 19:27:02 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
* include/ruby/ruby.h (HAVE_RB_SCAN_ARGS_OPTIONAL_HASH): for
rb_scan_args() optional hash feature. [Bug #7861]
Wed Feb 20 18:02:26 2013 Nobuyoshi Nakada <nobu@ruby-lang.org> Wed Feb 20 18:02:26 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
* configure.in (target_os): do not strip -gnu suffix on Linux if * configure.in (target_os): do not strip -gnu suffix on Linux if

View file

@ -1347,6 +1347,9 @@ VALUE rb_funcall_passing_block(VALUE, ID, int, const VALUE*);
int rb_scan_args(int, const VALUE*, const char*, ...); int rb_scan_args(int, const VALUE*, const char*, ...);
VALUE rb_call_super(int, const VALUE*); VALUE rb_call_super(int, const VALUE*);
/* rb_scan_args() format allows ':' for optional hash */
#define HAVE_RB_SCAN_ARGS_OPTIONAL_HASH 1
VALUE rb_gv_set(const char*, VALUE); VALUE rb_gv_set(const char*, VALUE);
VALUE rb_gv_get(const char*); VALUE rb_gv_get(const char*);
VALUE rb_iv_get(VALUE, const char*); VALUE rb_iv_get(VALUE, const char*);