MEDfieldComputingStepInfo.c
Aller à la documentation de ce fichier.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #include <med.h>
00020 #include <med_config.h>
00021 #include <med_outils.h>
00022 #include <string.h>
00023
00038 med_err
00039 MEDfieldComputingStepInfo(const med_idt fid,
00040 const char * const fieldname,
00041 const int csit,
00042 med_int * const numdt,
00043 med_int * const numit,
00044 med_float * const dt)
00045
00046 {
00047 char * name = "_MEDfieldComputingStepInfo";
00048 int dummy=0;
00049 med_err fret=-1;
00050 med_int majeur, mineur, release;
00051 MedFuncType func;
00052
00053 MEDfileNumVersionRd(fid, &majeur, &mineur, &release);
00054 func = _MEDversionedApi3(name,majeur,mineur,release);
00055
00056 if ( func != (MedFuncType) NULL )
00057 func (dummy,
00058 fid,
00059 fieldname,
00060 csit,
00061 numdt,
00062 numit,
00063 dt ,
00064 &fret);
00065
00066 return fret;
00067 }