- Subject: Re: [slang-users] C Structure help ...
- From: Michael Noble <mnoble@xxxxxxxxxxxxx>
- Date: Fri, 8 Jun 2007 10:37:17 -0400
> 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
[2007 date index]
[2007 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]