[slang-users] C Structure help ...
Michael Noble
mnoble at space.mit.edu
Fri Jun 8 10:37:17 EDT 2007
> What is the diff between using malloc / calloc / free versus
> SLmalloc, SLcalloc and SLfree ?
The S-Lang versions ensure that SLang_Error reflects any error
that may have arisen. For example, this would enable an out of
memory condition to be thrown as a S-Lang error and then
detected/caught in S-Lang scope, instead of having the process
creep along in some undefined state.
-Mike
More information about the slang-users-l
mailing list