mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
856848466a
We can allocate fixed size arrays for smartrak tables as its size can be known in advance. Simply reading table->num_rows is too dangereous as smartrak tables have "holes" commonly. This is, they can look like: Idx | Txt 1 | blablabla 2 | blebleble 4 | blobloblo table->num_rows would give us 3, but we need to allocate 4 to get an array like: |0|blablabla |1|blebleble |2| |3|blobloblo as the idea is to use the table index to reference the array data. Signed-off-by: Salvador Cuñat <salvador.cunat@gmail.com> |
||
---|---|---|
.. | ||
cmake/Modules | ||
CMakeLists.txt | ||
smartrak.c | ||
smrtk2ssrfc_window.cpp | ||
smrtk2ssrfc_window.h | ||
smrtk2ssrfc_window.ui | ||
smtk2ssrf.desktop | ||
smtk_standalone.cpp |