Behavior of the NCI PMC

Andrew Whitworth wknight8111 at
Mon Jan 3 02:13:57 UTC 2011

On Sun, Jan 2, 2011 at 5:25 PM, Peter Lobsinger <plobsing at> wrote:
> The hit assertion is for sig_str, which is legitimate. Every NCI
> function *must* have a signature in order to be able to determine how
> to map PCC to the native ABI. sig_str being null is *not* a valid
> state for this object, and the assertion is appropriate.

I would disagree, to a point. Obviously sig_str in invoke is an error
condition but the correct behavior is to throw an exception, not fail
an assertion.

--Andrew Whitworth

More information about the parrot-dev mailing list