GFC_INTEGER_4

View: New views
3 Messages — Rating Filter:   Alert me  

GFC_INTEGER_4

by Paul Keir :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'd like to define C++ types suitable for holding Fortran sized types.
Could someone point me to towards the definition of GFC_INTEGER_4,
GFC_LOGICAL_1 etc.?


Re: GFC_INTEGER_4

by Tim Prince-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Paul Keir wrote:
> I'd like to define C++ types suitable for holding Fortran sized types.
> Could someone point me to towards the definition of GFC_INTEGER_4,
> GFC_LOGICAL_1 etc.?
It's not clear why you don't USE iso_c_binding.

Re: GFC_INTEGER_4

by Steve Kargl :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, Nov 02, 2009 at 11:08:38AM -0000, Paul Keir wrote:
> I'd like to define C++ types suitable for holding Fortran sized types.
> Could someone point me to towards the definition of GFC_INTEGER_4,
> GFC_LOGICAL_1 etc.?

See trans-types.c(gfc_init_kinds).

--
Steve