Re: Correct way to throw exceptions/errors from C to ST
Holger Freyther <[email protected]>
| Newsgroups | gmane.comp.lang.smalltalk.gnu.general |
|---|---|
| Message-ID | <[email protected]> |
> On 12 Apr 2015, at 16:19, Roland Plüss <[email protected]> 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