Commit Graph

22 Commits

Author SHA1 Message Date
CK Tan 37954d9b20 add toml_key_exists() 2021-10-25 23:21:48 -07:00
CK Tan 715fa54d45 fixed issue #51 2021-03-06 23:54:24 -08:00
CK Tan 94136b9f04 slight change in returning timestamp. now returns a malloc-ed ptr 2020-11-09 14:00:27 -08:00
CK Tan 3fdd187b2a rename toml_access_t -> toml_datum_t 2020-11-02 10:07:33 -08:00
CK Tan 5c60d1e15c cleanup 2020-11-01 18:55:16 -08:00
CK Tan 71a9fd9772 Add enhanced access methods 2020-11-01 17:52:57 -08:00
CK Tan 5be06807ad remove use of calloc 2020-10-27 16:59:43 -07:00
CK Tan bc6f2fa6b8 remove use of realloc 2020-10-27 03:32:22 -07:00
dcresswell 5d1d8e3389 Adds toml_raw_t to seperate raw and processed data
This just makes it more obvious that toml_raw_at returns a incomplete
bit of data. Users can easily see how to use rto* with this.
2020-07-08 21:45:48 -07:00
Stanley Pinchak 8278e68df9 Add const qualifiers for access functions
The access functions do not mutate the toml_table.
Add const qualifiers to the parameters which are not mutated.
2020-06-17 17:39:24 -05:00
CK Tan 416be8de63 re-indent 2019-12-29 11:35:24 -08:00
CK Tan 9394192bfc fix issue #22: add toml_set_memutil 2019-09-26 22:29:25 -07:00
CK Tan 3bc235331f Handle more test cases 2019-08-16 04:35:14 -07:00
CK Tan c4325a38fb add toml_array_type() api 2019-02-27 11:31:49 -08:00
CK Tan 05e27a7cab copyright years 2019-02-19 10:51:51 -08:00
CK Tan 43f7a52064 Fix #14 and #13 2019-02-16 17:37:59 -08:00
Stanley Pinchak 3fed0ab455 Add helper functions to access key
New functions for read only access to the key of toml_array_t and
toml_table_t structs
2019-01-08 13:31:10 -06:00
Stanley Pinchak b53c016877 Add helper function for arrays
New function for read only access to the internal nelem member of
toml_array_t structs
2019-01-08 13:31:04 -06:00
Stanley Pinchak 88eacb3fe0 Add helper functions for tables
New functions for read only access to internal nkval, narr and ntab
members of toml_table_t structs.
2019-01-08 13:30:54 -06:00
CK Tan 287defadb1 Add github link to license text 2017-04-16 23:19:51 -07:00
CK Tan a0b38a34ea Add comment 2017-03-18 14:23:25 -07:00
CK Tan 09de99f7a8 Init. 2017-03-18 14:20:51 -07:00