On Thu, Jul 31, 2008 at 10:32:30PM +0100, Andrew Ross wrote:
> 
> I've been working on implementing plgfci and plsfci in the fortran
> bindings, starting with f95. Unfortunately fortran does not support
> unsigned integers so PLUNICODE has to be cast to an 64 bit integer in
> fortran. I've created a plunicode type, similar to plflt, to make this
> transparent in fortran 95. The conversion is done in the C code and
> current works if C long is 64 bit (ok on most platforms, but not
> guaranteed). Ideally I would use int64_t but this is none standard. 
> 

This should of course read long long. This is an extension to ANSI C,
although is included in C99. 

If it turns out that it is not widely supported we may need some cmake
magic to determine what the correct type for a compiler is.

Andrew

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to