Add lbfgs_strerror().

This commit is contained in:
Jey Kottalam
2015-09-21 20:12:31 -07:00
committed by Sangwhan "fish" Moon
parent 3b35fa16dc
commit 7fc787678e
2 changed files with 120 additions and 0 deletions

View File

@@ -515,6 +515,13 @@ lbfgsfloatval_t* lbfgs_malloc(int n);
*/
void lbfgs_free(lbfgsfloatval_t *x);
/**
* Get string description of an lbfgs() return code.
*
* @param err A value returned by lbfgs().
*/
const char* lbfgs_strerror(int err);
/** @} */
#ifdef __cplusplus