Issue #7861 has been reported by nobu (Nobuyoshi Nakada). ---------------------------------------- Bug #7861: New macro for the new feature of rb_scan_args() https://bugs.ruby-lang.org/issues/7861 Author: nobu (Nobuyoshi Nakada) Status: Assigned Priority: Immediate Assignee: mame (Yusuke Endoh) Category: core Target version: 2.0.0 ruby -v: 2.0.0 =begin (({rb_scan_args()})) has new feature since 1.9.3, but there is no way to tell if it is available from extension libraries. So we have to provide a preprocessor symbol for it now. The name in my mind is (({HAVE_RB_SCAN_ARGS_OPTIONAL_HASH})) now. Any ideas? =end
on 2013-02-16 01:40
on 2013-02-17 07:28
Issue #7861 has been updated by mame (Yusuke Endoh). Priority changed from Immediate to Normal Target version changed from 2.0.0 to 2.1.0 nobu (Nobuyoshi Nakada) wrote: > (({rb_scan_args()})) has new feature since 1.9.3, but there is no way to tell if it is available from extension libraries. Do you know any concrete application that is in urgent need of the information? -- Yusuke Endoh <mame@tsg.ne.jp> ---------------------------------------- Bug #7861: New macro for the new feature of rb_scan_args() https://bugs.ruby-lang.org/issues/7861#change-36405 Author: nobu (Nobuyoshi Nakada) Status: Assigned Priority: Normal Assignee: mame (Yusuke Endoh) Category: core Target version: 2.1.0 ruby -v: 2.0.0 =begin (({rb_scan_args()})) has new feature since 1.9.3, but there is no way to tell if it is available from extension libraries. So we have to provide a preprocessor symbol for it now. The name in my mind is (({HAVE_RB_SCAN_ARGS_OPTIONAL_HASH})) now. Any ideas? =end
on 2013-02-18 10:45
Issue #7861 has been updated by Hanmac (Hans Mackowiak). i for sample would like to know how to use the Optional Hash (and with 2.0 the default hash parameters) with rb_scan_args ---------------------------------------- Bug #7861: New macro for the new feature of rb_scan_args() https://bugs.ruby-lang.org/issues/7861#change-36497 Author: nobu (Nobuyoshi Nakada) Status: Assigned Priority: Normal Assignee: mame (Yusuke Endoh) Category: core Target version: 2.1.0 ruby -v: 2.0.0 =begin (({rb_scan_args()})) has new feature since 1.9.3, but there is no way to tell if it is available from extension libraries. So we have to provide a preprocessor symbol for it now. The name in my mind is (({HAVE_RB_SCAN_ARGS_OPTIONAL_HASH})) now. Any ideas? =end
on 2013-02-20 05:08
Issue #7861 has been updated by nobu (Nobuyoshi Nakada). No concrete applications yet, but they will come soon certainly. An extension library which wants to support optional hash may want to use this feature, and the feature itself is intended to be. Suppose that it wants to support 1.9.3 either right now, then it needs the way to tell if rb_scan_args() supports ':'. But the way is now only try_run, which can't work while cross compiling. It's too late after the 2.0.0 release. ---------------------------------------- Bug #7861: New macro for the new feature of rb_scan_args() https://bugs.ruby-lang.org/issues/7861#change-36642 Author: nobu (Nobuyoshi Nakada) Status: Assigned Priority: Normal Assignee: mame (Yusuke Endoh) Category: core Target version: 2.1.0 ruby -v: 2.0.0 =begin (({rb_scan_args()})) has new feature since 1.9.3, but there is no way to tell if it is available from extension libraries. So we have to provide a preprocessor symbol for it now. The name in my mind is (({HAVE_RB_SCAN_ARGS_OPTIONAL_HASH})) now. Any ideas? =end
on 2013-02-22 13:45
Issue #7861 has been updated by mame (Yusuke Endoh). Assignee changed from mame (Yusuke Endoh) to nobu (Nobuyoshi Nakada) Looks benign. Okay, go ahead. Sorry for late reply. -- Yusuke Endoh <mame@tsg.ne.jp> ---------------------------------------- Backport #7861: New macro for the new feature of rb_scan_args() https://bugs.ruby-lang.org/issues/7861#change-36787 Author: nobu (Nobuyoshi Nakada) Status: Assigned Priority: Normal Assignee: nobu (Nobuyoshi Nakada) Category: Target version: =begin (({rb_scan_args()})) has new feature since 1.9.3, but there is no way to tell if it is available from extension libraries. So we have to provide a preprocessor symbol for it now. The name in my mind is (({HAVE_RB_SCAN_ARGS_OPTIONAL_HASH})) now. Any ideas? =end
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.