[−][src]Function lightgbm_sys::LGBM_BoosterGetEvalNames
pub unsafe extern "C" fn LGBM_BoosterGetEvalNames(
handle: BoosterHandle,
len: c_int,
out_len: *mut c_int,
buffer_len: size_t,
out_buffer_len: *mut size_t,
out_strs: *mut *mut c_char
) -> c_int
\brief Get names of evaluation datasets.
\param handle Handle of booster
\param len Number of char*
pointers stored at out_strs
.
If smaller than the max size, only this many strings are copied
\param[out] out_len Total number of evaluation datasets
\param buffer_len Size of pre-allocated strings.
Content is copied up to buffer_len - 1
and null-terminated
\param[out] out_buffer_len String sizes required to do the full string copies
\param[out] out_strs Names of evaluation datasets, should pre-allocate memory
\return 0 when succeed, -1 when failure happens