aboutsummaryrefslogtreecommitdiffstats
path: root/ext/persist.lv2/persist.ttl
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-11-03 22:36:43 +0000
committerDavid Robillard <d@drobilla.net>2011-11-03 22:36:43 +0000
commitd2fa4f8292a50b47864d561c33ced39c55c89254 (patch)
tree72e320a6cd7979c66941ce1203334617a57df227 /ext/persist.lv2/persist.ttl
parente8b25617db84184a2b299ef57f7c4295081b7576 (diff)
downloadlv2-d2fa4f8292a50b47864d561c33ced39c55c89254.tar.xz
Syntax highlight C and Turtle code in documentation.
Diffstat (limited to 'ext/persist.lv2/persist.ttl')
-rw-r--r--ext/persist.lv2/persist.ttl6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/persist.lv2/persist.ttl b/ext/persist.lv2/persist.ttl
index bb70e8e..1c02cc2 100644
--- a/ext/persist.lv2/persist.ttl
+++ b/ext/persist.lv2/persist.ttl
@@ -82,7 +82,7 @@ possible. Extensions may define a dynamic mechanism for accessing plugin state,
or conventional state keys likely to be useful to several implementations.</p>
<p>In pseudo code, a typical use case in a plugin is:</p>
-<pre>
+<pre class="c-code">
#define NS_EG "http://example.org/"
#define NS_ATOM "http://lv2plug.in/ns/ext/atom#"
#define NS_XSD "http://www.w3.org/2001/XMLSchema#"
@@ -139,7 +139,7 @@ void my_restore(LV2_Handle instance,
</pre>
<p>Similarly, a typical use case in a host is:</p>
-<pre>
+<pre class="c-code">
int store_callback(void* callback_data,
uint32_t key,
const void* value,
@@ -193,7 +193,7 @@ wherever the state of a particular plugin instance needs to be represented.
Note that the domain of this property is unspecified, since LV2 does not define
any RDF class for plugin instance. This predicate may be used wherever it makes
sense to do so, e.g.:
-<pre>
+<pre class="turtle-code">
@prefix eg: &lt;http://example.org/&gt; .
&lt;plugininstance&gt; persist:instanceState [