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

Home » Public Forums » archive » Re: passing idl structures in call_external ?
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: passing idl structures in call_external ? [message #6045 is a reply to message #6043] Thu, 04 April 1996 00:00 Go to previous messageGo to previous message
David Foster is currently offline  David Foster
Messages: 341
Registered: January 1996
Senior Member
csoelle@msfd12.gwdg.de (Christian Soelle ) wrote:
>
>
> As the subject already says, does anybody know how to pass idl-structures
> to a C-function using CALL_EXTERNAL. I couldn't find anything in the help
> nor in the example programs supplied.

Most wouldn't consider this a problem, because an IDL structure
doesn't mean much in the context of a C function. The first
problem is how to declare the pointer argument in the C
function. Then you have to figure out how to reference the
structures using pointer offsets, and I'm not sure this would
work (the alignment might create problems). I hope someone
more familiar with this can address these problems.

I think you would be better off passing information to your
C routine using individual arguments.

Dave Foster
foster@bial1.ucsd.edu
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Is zero-degree fitting possible?
Next Topic: Re: IDL procedures to get theromdynamic parameters from Soundings

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

Current Time: Fri Oct 10 14:14:58 PDT 2025

Total time taken to generate the page: 1.27571 seconds