Remove gmx custom fixed int (e.g. gmx_int64_t) types
[alexxy/gromacs.git] / src / gromacs / fileio / trrio.h
index 6d60ba501214cc10a956f1e1c8242a792dd93578..814bf4f481671eeeeee9c9c319a4aea14c967bdc 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Copyright (c) 1991-2000, University of Groningen, The Netherlands.
  * Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2013,2014,2015,2016, by the GROMACS development team, led by
+ * Copyright (c) 2013,2014,2015,2016,2018, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
@@ -60,7 +60,7 @@
  * fix the fact that after 2^31 frames, step numbers will wrap to be
  * negative. Fortunately, this tends not to cause serious problems,
  * and we've fixed it in TNG. Meanwhile, the implementation pretends
- * to the rest of GROMACS that it functions with gmx_int64_t like all
+ * to the rest of GROMACS that it functions with int64_t like all
  * other step numbers, but the actual range in practice depends on the
  * defaults of the implementation in use now (or when the file was
  * written).
@@ -90,7 +90,7 @@ typedef struct gmx_trr_header_t
     int         f_size;    /* Non zero if forces are present      */
 
     int         natoms;    /* The total number of atoms           */
-    gmx_int64_t step;      /* Current step number                 */
+    int64_t     step;      /* Current step number                 */
     int         nre;       /* Backward compatibility              */
     real        t;         /* Current time                        */
     real        lambda;    /* Current value of lambda             */
@@ -115,14 +115,14 @@ gmx_bool gmx_trr_read_frame_data(struct t_fileio *fio, gmx_trr_header_t *sh,
  * Return FALSE on error
  */
 
-gmx_bool gmx_trr_read_frame(struct t_fileio *fio, gmx_int64_t *step, real *t, real *lambda,
+gmx_bool gmx_trr_read_frame(struct t_fileio *fio, int64_t *step, real *t, real *lambda,
                             rvec *box, int *natoms, rvec *x, rvec *v, rvec *f);
 /* Read a trr frame, including the header from fp. box, x, v, f may
  * be NULL, in which case the data will be skipped over.
  * return FALSE on error
  */
 
-void gmx_trr_write_frame(struct t_fileio *fio, gmx_int64_t step, real t, real lambda,
+void gmx_trr_write_frame(struct t_fileio *fio, int64_t step, real t, real lambda,
                          const rvec *box, int natoms, const rvec *x, const rvec *v, const rvec *f);
 /* Write a trr frame to file fp, box, x, v, f may be NULL */
 
@@ -130,12 +130,12 @@ void gmx_trr_read_single_header(const char *fn, gmx_trr_header_t *header);
 /* Read the header of a trr file from fn, and close the file afterwards.
  */
 
-void gmx_trr_read_single_frame(const char *fn, gmx_int64_t *step, real *t, real *lambda,
+void gmx_trr_read_single_frame(const char *fn, int64_t *step, real *t, real *lambda,
                                rvec *box, int *natoms, rvec *x, rvec *v, rvec *f);
 /* Read a single trr frame from file fn, which is closed afterwards
  */
 
-void gmx_trr_write_single_frame(const char *fn, gmx_int64_t step, real t, real lambda,
+void gmx_trr_write_single_frame(const char *fn, int64_t step, real t, real lambda,
                                 const rvec *box, int natoms, const rvec *x, const rvec *v, const rvec *f);
 /* Write a single trr frame to file fn, which is closed afterwards */