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
00036 med_err
00037 MEDfieldComputingStepInfo(const med_idt fid,
00038 const char * const fieldname,
00039 const int csit,
00040 med_int * const numdt,
00041 med_int * const numit,
00042 med_float * const dt)
00043
00044 {
00045 char * name = "_MEDfieldComputingStepInfo";
00046 int dummy=0;
00047 med_err fret=-1;
00048 med_int majeur, mineur, release;
00049 MedFuncType func;
00050
00051 MEDversionLire(fid, &majeur, &mineur, &release);
00052 func = _MEDversionedApi3(name,majeur,mineur,release);
00053
00054 if ( func != (MedFuncType) NULL )
00055 func (dummy,
00056 fid,
00057 fieldname,
00058 csit,
00059 numdt,
00060 numit,
00061 dt ,
00062 &fret);
00063
00064 return fret;
00065 }