Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^5: Perl 5 interpreter

by Corion (Pope)
on Jan 12, 2011 at 08:43 UTC ( #881843=note: print w/ replies, xml ) Need Help??


in reply to Re^4: Perl 5 interpreter
in thread Perl 5 interpreter

The custom renaming to S_ or PL_ 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.

In theory, ideally, Perl C code wouldn't use int or char at all, but either Perl-internal data types like SV (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.


Comment on Re^5: Perl 5 interpreter
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://881843]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2015-05-25 00:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    In my home, the TV remote control is ...









    Results (476 votes), past polls