MCPcopy Create free account
hub / github.com/bgrimstad/splinter / splinter_datatable_save

Function splinter_datatable_save

src/cinterface/datatable.cpp:143–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141}
142
143void 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
159void splinter_datatable_delete(splinter_obj_ptr datatable_ptr)
160{

Callers

nothing calls this directly

Calls 4

get_datatableFunction · 0.85
set_error_stringFunction · 0.85
whatMethod · 0.80
saveMethod · 0.45

Tested by

no test coverage detected