From: Florian Ragwitz Date: Fri, 5 Dec 2008 20:35:57 +0000 (+0000) Subject: Fix a few more style issues in MOP.xs. X-Git-Tag: 0.72~10 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=6d9159323778f61e09e3a623a346420c01ddae20;p=gitmo%2FClass-MOP.git Fix a few more style issues in MOP.xs. --- diff --git a/MOP.xs b/MOP.xs index fe86360..cc82e64 100644 --- a/MOP.xs +++ b/MOP.xs @@ -229,7 +229,7 @@ mop_update_method_map(pTHX_ SV *const self, SV *const class_name, HV *const stas method_slot = *hv_fetch(map, method_name, method_name_len, TRUE); if ( SvOK(method_slot) ) { - SV* const body = call0(method_slot, key_body); /* $method_object->body() */ + SV *const body = call0(method_slot, key_body); /* $method_object->body() */ if ( SvROK(body) && ((CV *) SvRV(body)) == cv ) { continue; } @@ -308,8 +308,8 @@ void get_code_info(coderef) SV *coderef PREINIT: - char* pkg = NULL; - char* name = NULL; + char *pkg = NULL; + char *name = NULL; PPCODE: if (get_code_info(coderef, &pkg, &name)) { EXTEND(SP, 2);