Error handling with MathLink
- To: mathgroup at smc.vnet.net
- Subject: [mg37287] Error handling with MathLink
- From: "Y.A.Tesiram" <yas at pcomm.hfi.unimelb.edu.au>
- Date: Tue, 22 Oct 2002 04:47:04 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
G'day all, How do I return errors to Mathematica from a MathLink program? For e.g. ... ptr = malloc( HUGE_VAL ); if (ptr == NULL) { // How do I return an error value to mathematica here? } Thanks Yas