On Sunday 04 November 2007 06:00:01 Ronald Blaschke wrote:

>   Parrot currently uses indirect DLL linkage, which means that exported
> data, including PMCNULL, used by PMC_IS_NULL, can not be accessed.
>   Attached patch introduces a function PMC_is_null which should be used
> instead.
>   An alternative solution would be to use direct DLL linkage, but this
> would require more work (i.e., get __declspec(dllexport/dllimport) right).
>
>   What do you guys think?  (Should it be possible to use data exported
> by libparrot?)
>
> Changed Files:
> src/pmc.c
> include/parrot/pmc.h
> t/src/compiler.t

This seems sensible to me.  For the sake of isomorphism, we could add a 
#define PMC_IS_NULL PMC_is_null to the external API, so that people copying 
code from core to extensions would have an easier time.

-- c

Reply via email to