Author: James Van BuskirkJames Van Buskirk Date: Aug 17, 2008 13:41
> In DFWINTY.f90, it appears that everywhere there's a pointer, including
> pointers to structures, they just used INTEGER(LPVOID) ::
> (LPVOID=kind type 4) within a SEQUENCE type so I guess that's what I'll
> try first.
That's what I would do except that I would minimize the pain by
setting LPVOID = INT_PTR_KIND() (with C interop, you could set it to
C_INTPTR_T). This would make the Cray pointer approach work on my
system as well.
--
write(*,*) transfer((/17.392111325966148d0,6.5794487871554595D-85, &
6.0134700243160014d-154/),(/'x'/)); end
|