| 134 | } |
| 135 | |
| 136 | void mi_option_set(mi_option_t option, long value) { |
| 137 | mi_assert(option >= 0 && option < _mi_option_last); |
| 138 | if (option < 0 || option >= _mi_option_last) return; |
| 139 | mi_option_desc_t* desc = &options[option]; |
| 140 | mi_assert(desc->option == option); // index should match the option |
| 141 | desc->value = value; |
| 142 | desc->init = INITIALIZED; |
| 143 | } |
| 144 | |
| 145 | void mi_option_set_default(mi_option_t option, long value) { |
| 146 | mi_assert(option >= 0 && option < _mi_option_last); |
no outgoing calls
no test coverage detected