diff options
author | David Robillard <d@drobilla.net> | 2022-03-11 18:23:15 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-03-11 18:23:15 -0500 |
commit | 38181cbf7283593be2ef7bf4be890986b6a32b86 (patch) | |
tree | 4457a6528b5ff2e22e98bc68d197ed659d9c5b8e /doc | |
parent | d9ceeea13b1dd0f7ea91b0df747eeaf085bdc88e (diff) | |
download | sratom-38181cbf7283593be2ef7bf4be890986b6a32b86.tar.gz sratom-38181cbf7283593be2ef7bf4be890986b6a32b86.tar.bz2 sratom-38181cbf7283593be2ef7bf4be890986b6a32b86.zip |
fixup! port to serd1
Diffstat (limited to 'doc')
-rw-r--r-- | doc/c/overview.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/c/overview.rst b/doc/c/overview.rst index c6347d6..2fb1a31 100644 --- a/doc/c/overview.rst +++ b/doc/c/overview.rst @@ -51,13 +51,13 @@ For example: .. code-block:: c - SerdStringView base = SERD_STRING("file:///tmp/state/"); + SerdStringView base = serd_string("file:///tmp/state/"); SerdEnv* env = serd_env_new(base); serd_env_set_prefix( env, - SERD_STRING("atom"), - SERD_STRING("http://lv2plug.in/ns/ext/atom#")); + serd_string("atom"), + serd_string("http://lv2plug.in/ns/ext/atom#")); With the environment configured, :func:`sratom_to_string` can be used to convert atoms to strings: |