| 295 | // --- start Booster interfaces |
| 296 | |
| 297 | LGBM_SE LGBM_BoosterFree_R(LGBM_SE handle, |
| 298 | LGBM_SE call_state) { |
| 299 | R_API_BEGIN(); |
| 300 | if (R_GET_PTR(handle) != nullptr) { |
| 301 | CHECK_CALL(LGBM_BoosterFree(R_GET_PTR(handle))); |
| 302 | R_SET_PTR(handle, nullptr); |
| 303 | } |
| 304 | R_API_END(); |
| 305 | } |
| 306 | |
| 307 | LGBM_SE LGBM_BoosterCreate_R(LGBM_SE train_data, |
| 308 | LGBM_SE parameters, |
nothing calls this directly
no test coverage detected