diff options
author | David Robillard <d@drobilla.net> | 2012-03-06 21:37:14 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-03-06 21:37:14 +0000 |
commit | ed67de4c9e7170b95b6bc798044c37be31b375f1 (patch) | |
tree | 920997f4f05cf122776bde0d384462862a21d9c7 /lilv | |
parent | e45691df6be3f9a14cab019437ce2f2e8a54427e (diff) | |
download | lilv-ed67de4c9e7170b95b6bc798044c37be31b375f1.tar.gz lilv-ed67de4c9e7170b95b6bc798044c37be31b375f1.tar.bz2 lilv-ed67de4c9e7170b95b6bc798044c37be31b375f1.zip |
Add lilv_state_new_from_string().
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4024 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'lilv')
-rw-r--r-- | lilv/lilv.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lilv/lilv.h b/lilv/lilv.h index 5634835..7975945 100644 --- a/lilv/lilv.h +++ b/lilv/lilv.h @@ -1155,6 +1155,15 @@ lilv_state_new_from_file(LilvWorld* world, const char* path); /** + Load a state snapshot from a string made by lilv_state_to_string(). +*/ +LILV_API +LilvState* +lilv_state_new_from_string(LilvWorld* world, + LV2_URID_Map* map, + const char* str); + +/** Function to get a port value. @param port_symbol The symbol of the port. @param user_data The user_data passed to lilv_state_new_from_instance(). |