diff options
author | Nicholas Clark <nick@ccl4.org> | 2009-01-21 16:41:58 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2009-01-21 17:09:11 +0000 |
commit | b96d8cd966afa49291119752aac86cd1f1de5560 (patch) | |
tree | ddea44f6a0b8c59ab9835695c9936f2375fb6afd /handy.h | |
parent | e350d0e0ab968c54f8b39c21d92b151f1f1611d5 (diff) | |
download | perl-b96d8cd966afa49291119752aac86cd1f1de5560.tar.gz |
Add get_cvs() as a shortcut for STR_WITH_LEN() and Perl_get_cvn_flags(), and
use it where possible.
Diffstat (limited to 'handy.h')
-rw-r--r-- | handy.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -327,6 +327,8 @@ and omits the hash parameter. ((SV **)Perl_hv_common(aTHX_ (hv), NULL, STR_WITH_LEN(key), 0, \ (HV_FETCH_ISSTORE|HV_FETCH_JUST_SV), (val), 0)) +#define get_cvs(str, flags) \ + Perl_get_cvn_flags(aTHX_ STR_WITH_LEN(str), (flags)) /* =head1 Miscellaneous Functions |