Hi, Some time back I asked about the inability of XS to access Perl_report_uninit() on Win32 ... though the function is accessible from XSubs on linux. Jan Dubois explained thus:
--- quote --- "..Perl_report_uninit() is not a public Perl API, so extensions are not allowed to call it. On Linux this cannot be enforced as all internal symbols are being exported anyways, but on Windows (and AIX) you can only call APIs that are marked as "public" in the embed.fnc file in the core Perl distribution. In general it is a good idea to check `perldoc perlapi`. If the function isn't listed in there, then you are not allowed to use them in an extension...." --- end quote --- I've now started to wonder "why is it so?". That is, why *not* allow the calling of *all* functions on Win32 (as can be done in linux) ? I don't doubt that there are good reasons for imposing these limitations ... I'm merely wondering what those "good reasons" are :-) Cheers, Rob _______________________________________________ Perl-Win32-Users mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
