[Proj] Verification of inverse step in projection

José Luis García Pallero jgpallero at gmail.com
Mon Dec 14 02:54:38 EST 2009


2009/12/13 Roger Oberholtzer <roger at opq.se>:
>
> On Dec 13, 2009, at 7:13 PM, José Luis García Pallero wrote:
>
>> But the correct way of projPJ declaration is projPJ pjStruct because,
>> actually, projPJ is internally a pointer, as you can see in
>
> I was remembering incorrectly. projPJ is a typedef that is really
> either PJ *, or void *, depending on whether PROJECTS_H is defined.
> And this is defined if you include projects.h before the main proj
> include file. As I never access the inside of the struct, I do not
> include projects.h. But it seems to be needed if you want to access
> the inside of the struct.

Thanks, you are right. I can access now to the struct's members.
It's only need to include projects.h, that includes itself proj_api.h
(http://trac.osgeo.org/proj/browser/trunk/proj/src/projects.h#L243)

-- 
*****************************************
José Luis García Pallero
jgpallero at gmail.com
(o<
/ / \
V_/_
Use Debian GNU/Linux and enjoy!
*****************************************


More information about the Proj mailing list