[OSRS-PROJ] One more help, please...
Paul
pdjensen at agileimage.com
Mon Jun 10 10:40:17 EDT 2002
You wrote:
>...
>These extra members are therefore not available in the interface exposed
>by the library. Unfortunately! I wish to get rid of this macro too and I
>have
>two options:
>
>1. Define global structures in the individual files to hold the extra
>parameters with
> a declared global variable each:
>
> struct foo
> {
> double cosphi1;
> int mode;
> };
>
>static foo gExtra;
Static variables prevent the use of the code in multithreaded
applications. There are a few places in the original Proj4 code that use
static where the problem existed.
pdj
--
Paul Jensen Agile Image Movers http://agileimage.com
----------------------------------------
PROJ.4 Discussion List
See http://www.remotesensing.org/proj for subscription, unsubscription
and other information.
More information about the Proj
mailing list