[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DLM returning a pointer...



Craig Markwardt wrote:
> 
> Randall Skelton <rhskelto@atm.ox.ac.uk> writes:
> > Hi all,
> >
> > I am trying to write a few IDL functions which mirror those of a C library
> > [...]
> 
> I don't think it would be wise to return a pointer, although
> technically it is possible.  You could in principle cast the pointer
> to an integer, and return the integer. 

... you probably meant an unsigned 64-bit value (in IDL speak
ULONG64).

Martin


-- 
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[
[[ Dr. Martin Schultz   Max-Planck-Institut fuer Meteorologie    [[
[[                      Bundesstr. 55, 20146 Hamburg             [[
[[                      phone: +49 40 41173-308                  [[
[[                      fax:   +49 40 41173-298                  [[
[[ martin.schultz@dkrz.de                                        [[
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[