MCPcopy Create free account
hub / github.com/antmachineintelligence/mtgbmcode / LGBM_DatasetFree_R

Function LGBM_DatasetFree_R

src/lightgbm_R.cpp:179–187  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

177}
178
179LGBM_SE LGBM_DatasetFree_R(LGBM_SE handle,
180 LGBM_SE call_state) {
181 R_API_BEGIN();
182 if (R_GET_PTR(handle) != nullptr) {
183 CHECK_CALL(LGBM_DatasetFree(R_GET_PTR(handle)));
184 R_SET_PTR(handle, nullptr);
185 }
186 R_API_END();
187}
188
189LGBM_SE LGBM_DatasetSetField_R(LGBM_SE handle,
190 LGBM_SE field_name,

Callers

nothing calls this directly

Calls 3

LGBM_DatasetFreeFunction · 0.70
R_GET_PTRFunction · 0.50
R_SET_PTRFunction · 0.50

Tested by

no test coverage detected