diff options
author | David Robillard <d@drobilla.net> | 2021-08-13 12:46:31 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2021-08-13 12:46:31 -0400 |
commit | 6a2962128761c4579877b86f6aeb2adc30f8e9ce (patch) | |
tree | 0b0101a905fe31f18f160913e6c0fae7e2774565 /doc | |
parent | c37e9cccb6a8dfee42bb50ec2646ecc41f353ae2 (diff) | |
download | sratom-6a2962128761c4579877b86f6aeb2adc30f8e9ce.tar.gz sratom-6a2962128761c4579877b86f6aeb2adc30f8e9ce.tar.bz2 sratom-6a2962128761c4579877b86f6aeb2adc30f8e9ce.zip |
WIP
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 2ffcfd1..c6347d6 100644 --- a/doc/c/overview.rst +++ b/doc/c/overview.rst @@ -51,13 +51,13 @@ For example: .. code-block:: c - SerdStringView base = SERD_STATIC_STRING("file:///tmp/state/"); + SerdStringView base = SERD_STRING("file:///tmp/state/"); SerdEnv* env = serd_env_new(base); serd_env_set_prefix( env, - SERD_STATIC_STRING("atom"), - SERD_STATIC_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: |