[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
variable types in external C modules
- Subject: variable types in external C modules
- From: "D. Mattes" <dmattes(at)u.washington.edu>
- Date: Mon, 30 Oct 2000 19:38:13 -0800
- Newsgroups: comp.lang.idl-pvwave
- Organization: University of Washington
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:21963
hello IDL gurus:
i am using call_external to run computations in external C modules. i
want to send arrays of different types to the C module and have them be
correctly declared in the C module. for example, if the IDL procedure
sends floats, then the C module needs to declare the incoming arguments as
floats, and be able to create some scratch memory of type float.
however, if the IDL procedure sends doubles, then the C module needs to
declare the variables as doubles. how can i determine the variable types
of the input arguments from within the C module?
thanks!
david