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

Home » Public Forums » archive » Re: CALL_EXTERNAL puzzle (still) ?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: CALL_EXTERNAL puzzle (still) ? [message #12740] Sat, 05 September 1998 00:00 Go to previous message
steinhh is currently offline  steinhh
Messages: 260
Registered: June 1994
Senior Member
In article <EysGr6.ADL@midway.uchicago.edu>
rivers@cars3.uchicago.edu (Mark Rivers) writes:

> In article <6sofdh$aef$1@readme.uio.no>,
> steinhh@ulrik.uio.no (Stein Vidar Hagfors Haugan) writes:
>
>> I would recomment starting to use the "export.h" file that
>> defines the IDL_VARIABLE data type, and always accepting
>> parameters to external code by reference, not value.
>> This means you'll always get pointers to IDL_VARIABLE
>> structures,
>
> I don't think this is correct. If you pass parameters to CALL_EXTERNAL by
> reference you get a pointer to the value, not a pointer to the structure.
> The only exception is string parameters which are passed by descriptor.

Ooops! You're quite right. Bummer... It's only the LINKIMAGE'd
routines that receive pointers to IDL_VARIABLEs (and the ones
added through IDL_AddSystemRoutine()).

Stein Vidar
(Blushing)
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: drawing arrows in 3D
Next Topic: drawing arrows in 3D

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

Current Time: Fri Oct 10 10:11:52 PDT 2025

Total time taken to generate the page: 1.28162 seconds