note
Corion
<p>The custom renaming to <c>S_</c> or <c>PL_</c> comes from C having no namespaces and Perl being embeddable into other applications. There you need to fake a namespace by prefixing all exported symbols with whatever you need.</p>
<p>In theory, ideally, Perl C code wouldn't use <c>int</c> or <c>char</c> at all, but either Perl-internal data types like <c>SV</c> (which can hold an int) or whatever Perl defines to be the data type for holding integral numbers (UINT ?) or string length (SvLENGTH ?). Of course, at the boundary to the C library, you won't get around actually touching native data types.</p>
881827
881841