diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2018-05-18 00:13:42 +0200 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2018-05-18 00:17:33 +0200 |
commit | 4fde4be1e61ed706e300d3cb24264249b1aef825 (patch) | |
tree | 0bdef72c36f71c75caef392613ad19267e24620c /srd.c | |
parent | de7301ddd69c300b44cf8de3158a811cacdc1203 (diff) | |
download | libsigrokdecode-4fde4be1e61ed706e300d3cb24264249b1aef825.tar.gz libsigrokdecode-4fde4be1e61ed706e300d3cb24264249b1aef825.zip |
Add srd_searchpaths_get() API docs.
Diffstat (limited to 'srd.c')
-rw-r--r-- | srd.c | 17 |
1 files changed, 12 insertions, 5 deletions
@@ -188,11 +188,6 @@ err: return SRD_ERR_PYTHON; } -SRD_API GSList *srd_searchpaths_get(void) -{ - return g_slist_copy_deep(searchpaths, (GCopyFunc)g_strdup, NULL); -} - /** * Initialize libsigrokdecode. * @@ -391,4 +386,16 @@ err: return SRD_ERR_PYTHON; } +/** + * Return the list of protocol decoder search paths. + * + * @return The list of search paths used when loading protocol decoders. + * + * @since 0.5.1 + */ +SRD_API GSList *srd_searchpaths_get(void) +{ + return g_slist_copy_deep(searchpaths, (GCopyFunc)g_strdup, NULL); +} + /** @} */ |