Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
maintining typedefs for other language bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
Rohit Kumar Srivastava committed Aug 21, 2019
1 parent dd7234c commit 6763a08
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
6 changes: 2 additions & 4 deletions include/mxnet/c_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 *
Expand Down
6 changes: 2 additions & 4 deletions include/mxnet/c_predict_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 6763a08

Please sign in to comment.