PLplot  5.11.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
plplot_types.f90
Go to the documentation of this file.
1 ! Control the Fortran types used by the f95 bindings
2 ! This file is automatically configured by CMake
4 
5  ! Configured by CMake depending on the floating-point precision
6  ! adopted for the core C PLplot library.
7  integer, parameter :: plflt = kind(1.0d0)
8 
9  ! The idea here is to match the Fortran 4-byte integer with
10  ! the corresponding C types for PLINT (normally int32_t) and
11  ! PLUNICODE (normally uint32_t). According to websites I have
12  ! read, Fortran has no unsigned integer types and
13  ! using 4 here is safer than anything more complicated.
14  integer, parameter :: plint = 4
15  integer, parameter :: plunicode = 4
16 end module