Re: desallocate an array of double passed by a library [message #48842] |
Wed, 31 May 2006 11:42  |
James Kuyper
Messages: 425 Registered: March 2000
|
Senior Member |
|
|
Julien wrote:
> Hello,
>
> I'd like to know if it's possible to desallocate by IDL an variable
> created by an C dynamic librarie.
>
> thank of advance,
>
> J .Fallou
I'm no expert; I've been waiting for the experts to chime in on this
one, but so far I've seen no responses.
I believe that if you use the C routines provided by IDL to create IDL
variables, such as IDL_MakeStruct() and IDL_StrStore() and
IDL_GetScratch(), that those variables can be deallocated within the
calling IDL code just like any other variable.
|
|
|
|
Re: desallocate an array of double passed by a library [message #48941 is a reply to message #48842] |
Wed, 31 May 2006 13:45  |
Julien[1]
Messages: 3 Registered: May 2006
|
Junior Member |
|
|
kuyper@wizard.net wrote:
> Julien wrote:
>> Hello,
>>
>> I'd like to know if it's possible to desallocate by IDL an variable
>> created by an C dynamic librarie.
>>
>> thank of advance,
>>
>> J .Fallou
>
> I'm no expert; I've been waiting for the experts to chime in on this
> one, but so far I've seen no responses.
>
> I believe that if you use the C routines provided by IDL to create IDL
> variables, such as IDL_MakeStruct() and IDL_StrStore() and
> IDL_GetScratch(), that those variables can be deallocated within the
> calling IDL code just like any other variable.
Ok thanks, I try IDL_GetScratch() tomorrow.
|
|
|