[Scilab-Dev] Scilab MALLOC function.

sylvestre.ledru at scilab.org sylvestre.ledru at scilab.org
Sat Sep 27 21:17:02 CEST 2008



On Sat, 27 Sep 2008 11:18:04 -0300, "Jonathan Blanchard"
<BlanchardJ at ieee.org> wrote:
> Quick question. Can we assume that the scilab MALLOC function work the
> same way as the standard malloc. More precisely, is the pointer
> returned by MALLOC always going to be valid until freed?
Under Linux, in Scilab, it is calling the standard malloc:
http://viewvc.scilab.org/bin/cgi/viewvc.cgi/trunk/scilab/libs/MALLOC/src/sci_mem_alloc.c?revision=26187&view=markup
no more.

Under Windows, we are using heap functions because it is faster. I am
showing off here ;). I am just repeating what Allan explained me
(our Windows specialist)

Sylvestre





More information about the dev mailing list