source: XIOS/trunk/src/interface/c/icdate.hpp @ 836

Last change on this file since 836 was 537, checked in by rlacroix, 9 years ago

Add a new attribute type for durations and use it for the context's timestep.

Note that the "xios_time" type and the "xios_set_timestep" procedure have been removed from the Fortran interface. Instead, the "xios_duration" type and the "xios_get_context_attr"/"xios_set_context_attr" procedures should now be used to get/set the timestep.

File size: 282 bytes
Line 
1extern "C"
2{
3  /////////////////////////////// Définitions ////////////////////////////// //
4
5  typedef struct { int year, month, day, hour, minute, second; } cxios_date;
6  typedef struct { double year, month, day, hour, minute, second, timestep; } cxios_duration;
7} // extern "C"
Note: See TracBrowser for help on using the repository browser.