On Tue, 20 Jun 2006, Sisyphus wrote:
> On Win32,'Perl_report_uninit' simply aint there in libperl58.a (or
> libperl58.lib, as the case may be).
>
> Anyone know what to use instead of Perl_report_uninit() on Win32 ?
>
> Is there something happening here that p5p should be aware of ?

No, 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.

Cheers,
-Jan


Reply via email to