comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: desallocate an array of double passed by a library
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: desallocate an array of double passed by a library [message #48842] Wed, 31 May 2006 11:42 Go to next message
James Kuyper is currently offline  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 #48847 is a reply to message #48842] Wed, 31 May 2006 00:30 Go to previous messageGo to next message
Julien[1] is currently offline  Julien[1]
Messages: 3
Registered: May 2006
Junior Member
Sorry for my english.
Julien wrote:
> Hello,
>
> I'd like to know if it's possible to desallocate by IDL a variable
> created by a C dynamic librarie.
>
> thanks of advance,
>
> J .Fallou
Re: desallocate an array of double passed by a library [message #48941 is a reply to message #48842] Wed, 31 May 2006 13:45 Go to previous message
Julien[1] is currently offline  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.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Histogram with logarithmic filling
Next Topic: IDLffDICOMEx

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 14:01:23 PDT 2025

Total time taken to generate the page: 0.01016 seconds