From fcdc4ad086945f8a947c2ede2f87bc8d549bcae0 Mon Sep 17 00:00:00 2001 From: An-Cheng Huang Date: Wed, 6 Apr 2011 18:58:22 -0700 Subject: minor refactoring --- perl_dmod/Cstore/Cstore.xs | 6 +++--- perl_dmod/Cstore/typemap | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'perl_dmod') diff --git a/perl_dmod/Cstore/Cstore.xs b/perl_dmod/Cstore/Cstore.xs index e5fd126..3c9a9ad 100644 --- a/perl_dmod/Cstore/Cstore.xs +++ b/perl_dmod/Cstore/Cstore.xs @@ -206,7 +206,7 @@ Cstore::cfgPathGetChildNodesStatus(CPATH *pref) PREINIT: Cpath arg_cpath; CODE: - Cstore::MapT ret_strstrmap; + MapT ret_strstrmap; THIS->cfgPathGetChildNodesStatus(arg_cpath, ret_strstrmap); OUTPUT: RETVAL @@ -264,7 +264,7 @@ Cstore::cfgPathGetChildNodesStatusDA(CPATH *pref) PREINIT: Cpath arg_cpath; CODE: - Cstore::MapT ret_strstrmap; + MapT ret_strstrmap; THIS->cfgPathGetChildNodesStatusDA(arg_cpath, ret_strstrmap); OUTPUT: RETVAL @@ -296,7 +296,7 @@ Cstore::getParsedTmpl(CPATH *pref, bool allow_val) PREINIT: Cpath arg_cpath; CODE: - Cstore::MapT ret_strstrmap; + MapT ret_strstrmap; if (!THIS->getParsedTmpl(arg_cpath, ret_strstrmap, allow_val)) { XSRETURN_UNDEF; } diff --git a/perl_dmod/Cstore/typemap b/perl_dmod/Cstore/typemap index 7f70899..8d6d178 100644 --- a/perl_dmod/Cstore/typemap +++ b/perl_dmod/Cstore/typemap @@ -33,7 +33,7 @@ T_STRVEC_REF T_STRSTRMAP_REF HV *href = (HV *) sv_2mortal((SV *) newHV()); - Cstore::MapT::iterator it = ret_strstrmap.begin(); + MapT::iterator it = ret_strstrmap.begin(); for (; it != ret_strstrmap.end(); ++it) { const char *key = (*it).first.c_str(); const char *val = (*it).second.c_str(); -- cgit v1.2.3