MCPcopy Create free account
hub / github.com/cvanaret/Uno / uno_set_user_data

Function uno_set_user_data

interfaces/C/Uno_C_API.cpp:763–771  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

761}
762
763bool uno_set_user_data(void* model, void* user_data) {
764 if (model == nullptr) {
765 WARNING << "Please specify a valid model." << std::endl;
766 return false;
767 }
768 CUserModel* user_model = static_cast<CUserModel*>(model);
769 user_model->user_data = user_data;
770 return true;
771}
772
773bool uno_set_initial_primal_iterate_component(void* model, uno_int index, double initial_primal_component) {
774 if (model == nullptr) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected