mirror of
https://github.com/nyanmisaka/mpp.git
synced 2026-01-24 03:20:38 +01:00
feat[base]: Add toml function
1. add cfg to toml 2. add toml to cfg Change-Id: Iab5cb8f498f8bb769a0bc90a5beca85365bc960f Signed-off-by: xiaoxu.chen <xiaoxu.chen@rock-chips.com>
This commit is contained in:
parent
9aef0ff7a7
commit
2f5e6399c3
2 changed files with 1028 additions and 54 deletions
File diff suppressed because it is too large
Load diff
|
|
@ -129,6 +129,11 @@ int main(int argc, char *argv[])
|
|||
if (ret)
|
||||
goto FILE_DONE;
|
||||
|
||||
ret = test_to_from(root, MPP_CFG_STR_FMT_TOML);
|
||||
mpp_logi("test to / from toml string %s\n", ret ? "failed" : "success");
|
||||
if (ret)
|
||||
goto FILE_DONE;
|
||||
|
||||
FILE_DONE:
|
||||
if (buf) {
|
||||
munmap(buf, size);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue