Skip to content

Commit bf1aacf

Browse files
committed
universal.c: Indent code to current standards
These two functions had their code mostly at the left margin
1 parent b2ea40d commit bf1aacf

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

universal.c

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -642,27 +642,27 @@ XS(XS_utf8_downgrade)
642642
XS(XS_utf8_native_to_unicode); /* prototype to pass -Wmissing-prototypes */
643643
XS(XS_utf8_native_to_unicode)
644644
{
645-
dXSARGS;
646-
const UV uv = SvUV(ST(0));
645+
dXSARGS;
646+
const UV uv = SvUV(ST(0));
647647

648-
if (items > 1)
649-
croak_xs_usage(cv, "sv");
648+
if (items > 1)
649+
croak_xs_usage(cv, "sv");
650650

651-
ST(0) = sv_2mortal(newSVuv(NATIVE_TO_UNI(uv)));
652-
XSRETURN(1);
651+
ST(0) = sv_2mortal(newSVuv(NATIVE_TO_UNI(uv)));
652+
XSRETURN(1);
653653
}
654654

655655
XS(XS_utf8_unicode_to_native); /* prototype to pass -Wmissing-prototypes */
656656
XS(XS_utf8_unicode_to_native)
657657
{
658-
dXSARGS;
659-
const UV uv = SvUV(ST(0));
658+
dXSARGS;
659+
const UV uv = SvUV(ST(0));
660660

661-
if (items > 1)
662-
croak_xs_usage(cv, "sv");
661+
if (items > 1)
662+
croak_xs_usage(cv, "sv");
663663

664-
ST(0) = sv_2mortal(newSVuv(UNI_TO_NATIVE(uv)));
665-
XSRETURN(1);
664+
ST(0) = sv_2mortal(newSVuv(UNI_TO_NATIVE(uv)));
665+
XSRETURN(1);
666666
}
667667

668668
XS(XS_Internals_SvREADONLY); /* prototype to pass -Wmissing-prototypes */

0 commit comments

Comments
 (0)