| 141 | } |
| 142 | |
| 143 | void splinter_datatable_save(splinter_obj_ptr datatable_ptr, const char *filename) |
| 144 | { |
| 145 | auto dataTable = get_datatable(datatable_ptr); |
| 146 | if (dataTable != nullptr) |
| 147 | { |
| 148 | try |
| 149 | { |
| 150 | dataTable->save(filename); |
| 151 | } |
| 152 | catch(const Exception &e) |
| 153 | { |
| 154 | set_error_string(e.what()); |
| 155 | } |
| 156 | } |
| 157 | } |
| 158 | |
| 159 | void splinter_datatable_delete(splinter_obj_ptr datatable_ptr) |
| 160 | { |
nothing calls this directly
no test coverage detected