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

Home » Public Forums » archive » passing an idl function to a c-code ?
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 an idl function to a c-code ? [message #70848 is a reply to message #70778] Fri, 07 May 2010 19:08 Go to previous message
Chris[6] is currently offline  Chris[6]
Messages: 84
Registered: July 2008
Member
On May 6, 7:24 am, simona bellavista <afy...@gmail.com> wrote:
> Hi,
>
> I would like to call a c library (a sharable library .so, I work on
> linux) from idl by call_external, this c-library requires a pointer to
> an user-defined function.
> sadly for other reasons I have already written my user-defined
> function in idl. I was wondering if there is a  way to pass this
> function to the c-code. I guess not.
> have anybody had this problem already? is there any option other than
> rewriting in c the user-function?
>
> probably it's irrelevant, but I want to make precise this c-library is
> just a wrapper to a fortran subroutine.
>
> simona

wow - so you want IDL to call a C program, which wraps to Fortran, and
which re-calls IDL?! are you sure you don't want to throw some python
in there, just to round things out :)?

chris
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Why there is no cot function in IDL
Next Topic: Re: Why postscript colors are same as screen?

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

Current Time: Tue Apr 28 02:20:59 PDT 2026

Total time taken to generate the page: 1.12669 seconds