subsurface/smtk-import
Salvador Cuñat 856848466a [smtk-import] Add a function to get the size of an array
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>
2018-09-06 12:23:51 -07:00
..
cmake/Modules smtk-import: add cmake modules and .nsi skeleton 2017-06-11 13:50:30 -07:00
CMakeLists.txt smtk-import: Do not set build type in CMakeLists.txt 2018-08-25 11:11:51 -07:00
smartrak.c [smtk-import] Add a function to get the size of an array 2018-09-06 12:23:51 -07:00
smrtk2ssrfc_window.cpp smtk_import: remove QSettings 2018-08-25 11:49:47 -07:00
smrtk2ssrfc_window.h Cleanup: make lastUsedDir() functions static and non-slot, respectively 2018-06-09 17:11:29 +02:00
smrtk2ssrfc_window.ui Use icons relative path. 2017-11-30 23:14:46 -08:00
smtk2ssrf.desktop smtk-import: Add smtk2ssrf.desktop to sources 2018-02-24 13:42:01 -08:00
smtk_standalone.cpp smtk-import: partially revert and complete 6963b52d 2017-06-22 10:40:04 +09:00