Add support for serializing 32-bit integers
[alexxy/gromacs.git] / src / gromacs / utility / iserializer.h
index f4692963a35c9fe1d123e70ea8b5fe1cb1a63ad1..4d5aa185f531d4a1bdd6be4090c87476b185a770 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2016,2017,2018, by the GROMACS development team, led by
+ * Copyright (c) 2016,2017,2018,2019, 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.
@@ -69,6 +69,7 @@ class ISerializer
         virtual void doBool(bool *value)           = 0;
         virtual void doUChar(unsigned char *value) = 0;
         virtual void doInt(int *value)             = 0;
+        virtual void doInt32(int32_t *value)       = 0;
         virtual void doInt64(int64_t *value)       = 0;
         virtual void doFloat(float *value)         = 0;
         virtual void doDouble(double *value)       = 0;