From 2ce1c219d1edd21fe6236998fb569aa3bfc5715c Mon Sep 17 00:00:00 2001 From: Rohit Kumar Srivastava Date: Thu, 15 Aug 2019 02:37:05 +0000 Subject: [PATCH] maintining typedefs for other language bindings --- include/mxnet/c_api.h | 6 ++---- include/mxnet/c_predict_api.h | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/include/mxnet/c_api.h b/include/mxnet/c_api.h index 08e432c22dfb..32a33185c392 100644 --- a/include/mxnet/c_api.h +++ b/include/mxnet/c_api.h @@ -55,11 +55,9 @@ extern "C" { #endif /*! \brief manually define unsigned int */ -typedef uint32_t uint32_t; -/*! \brief manually define 64-bit int */ -typedef int64_t int64_t; +typedef uint32_t mx_uint; /*! \brief manually define float */ -typedef float float; +typedef float mx_float; /*! \brief data type to store dim size */ typedef int64_t dim_t; // all the handles are simply void * diff --git a/include/mxnet/c_predict_api.h b/include/mxnet/c_predict_api.h index 04ab44d59e88..7769664a9783 100644 --- a/include/mxnet/c_predict_api.h +++ b/include/mxnet/c_predict_api.h @@ -42,11 +42,9 @@ extern "C" { #endif /*! \brief manually define unsigned int */ -typedef uint32_t uint32_t; -/*! \brief manually define 64-bit int */ -typedef int64_t int64_t; +typedef uint32_t mx_uint; /*! \brief manually define float */ -typedef float float; +typedef float mx_float; /*! \brief handle to Predictor */ typedef void *PredictorHandle; /*! \brief handle to NDArray list */