diff options
author | Salvador Cuñat <salvador.cunat@gmail.com> | 2018-08-23 21:44:10 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-08-25 11:11:51 -0700 |
commit | 272dcf9514b59e2d337573284bc75faa4e91cf8d (patch) | |
tree | dd4f21ac4c6a05e14672745d81bdb51dc478cb8e /printing_templates | |
parent | 25491cf0776e2f22a50df830ee15f4d1c597f6fc (diff) | |
download | subsurface-272dcf9514b59e2d337573284bc75faa4e91cf8d.tar.gz |
smtk-import: move from arrys to lists while parsing tables
In most cases we can not foresee the maximum number of data of a given
type. It can be quite low or really big (a concerned diver can store
thousands of different fishes in Fish table).
Moving from arrays, where size has to be preset, to linked lists seems
the more logical option.
Here we set a (very limited) data structure, just an index and a text
fields following the format of most SmartTrak tables. Some special
table, like Buddy, needs a bit of processing before placing the data in
the list.
Signed-off-by: Salvador Cuñat <salvador.cunat@gmail.com>
Diffstat (limited to 'printing_templates')
0 files changed, 0 insertions, 0 deletions