help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] Correct way to throw exceptions/errors from C to ST


From: Holger Freyther
Subject: Re: [Help-smalltalk] Correct way to throw exceptions/errors from C to ST
Date: Sun, 12 Apr 2015 19:42:09 +0200

> On 12 Apr 2015, at 16:19, Roland Plüss <address@hidden> wrote:
> 
>> 
> Maybe the question got lost in the mailing list? What does make a
> primitive fail as seen from the Smalltalk VM?

If you have a look at libgst/prims.def there is PRIMS_FAILED to indicate
that a primitive failed. Is VMpr_CFuncDescriptor_call the call you end up
making? In that case if NULL is returned from the c binding layer the
primitive will fail


reply via email to

[Prev in Thread] Current Thread [Next in Thread]