Fix XGDMatrixFree argument type (#2898)

This commit is contained in:
yskn67 2017-11-24 03:49:05 +09:00 committed by Tianqi Chen
parent 70a4c419e9
commit 3dcf966bc3

View File

@ -238,7 +238,7 @@ XGB_DLL int XGDMatrixSliceDMatrix(DMatrixHandle handle,
* \brief free space in data matrix
* \return 0 when success, -1 when failure happens
*/
XGB_DLL int XGDMatrixFree(void *handle);
XGB_DLL int XGDMatrixFree(DMatrixHandle handle);
/*!
* \brief load a data matrix into binary file
* \param handle a instance of data matrix