Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix SWIG methods that return char**.
+ Add StringArray class to manage and manipulate arrays of fixed-length strings. This class is now used to wrap any char** parameters, manage memory and manipulate the strings. + Fix SWIG LGBM_BoosterGetEvalNames call that would result in a segfault. Added wrapper LGBM_BoosterGetEvalNamesSWIG (the method it wraps didn't work) + For consistency, LGBM_BoosterGetEvalNames was wrapped as well. Re-factored wrapper LGBM_BoosterGetEvalNames to follow LGBM_* convention of 0/-1 in case of success/failure.
- Loading branch information