13 use,
intrinsic :: iso_c_binding
16 type(c_ptr),
value :: locs
20 & bind(c,name=
'locations_get_lons_f')
21 use,
intrinsic :: iso_c_binding, only : c_ptr,c_char,c_size_t,c_double
23 type(c_ptr),
value :: locs
24 integer(c_size_t),
intent(in) :: nlocs
25 real(c_double),
intent(inout) :: lons(nlocs)
29 & bind(c,name=
'locations_get_lats_f')
30 use,
intrinsic :: iso_c_binding, only : c_ptr,c_char,c_size_t,c_double
32 type(c_ptr),
value :: locs
33 integer(c_size_t),
intent(in) :: nlocs
34 real(c_double),
intent(inout) :: lats(nlocs)
38 & bind(c,name=
'locations_get_timemask_f')
39 use,
intrinsic :: iso_c_binding, only : c_ptr,c_char,c_size_t,c_bool
41 type(c_ptr),
value :: locs, t1, t2
42 integer(c_size_t),
intent(in) :: nlocs
43 logical(c_bool),
intent(inout) :: mask(nlocs)
Define interface for C++ ufo::Locations code called from Fortran.