summaryrefslogtreecommitdiffstats
path: root/slv2
diff options
context:
space:
mode:
Diffstat (limited to 'slv2')
-rw-r--r--slv2/pluginclasses.h7
-rw-r--r--slv2/port.h2
-rw-r--r--slv2/value.h2
3 files changed, 9 insertions, 2 deletions
diff --git a/slv2/pluginclasses.h b/slv2/pluginclasses.h
index 5a13dbe..7ad3455 100644
--- a/slv2/pluginclasses.h
+++ b/slv2/pluginclasses.h
@@ -30,6 +30,13 @@ extern "C" {
*/
+/** Free an SLV2PluginClasses.
+ * Note that only certain plugin classes should be freed by the user
+ * (as specified by the documentation of the slv2 function which returned it).
+ */
+void slv2_plugin_classes_free(SLV2PluginClasses classes);
+
+
/** Get the number of plugins in the collection.
*/
unsigned
diff --git a/slv2/port.h b/slv2/port.h
index 5dbe454..be6e03b 100644
--- a/slv2/port.h
+++ b/slv2/port.h
@@ -106,7 +106,7 @@ slv2_port_get_symbol(SLV2Plugin plugin,
/** Get the name of a port.
*
* This is guaranteed to return the untranslated name (the doap:name in the
- * data file without a language tag). Returned value must be free()'d by
+ * data file without a language tag). Returned value must be freed by
* the caller.
*
* Time = Query
diff --git a/slv2/value.h b/slv2/value.h
index db447dd..f1af35f 100644
--- a/slv2/value.h
+++ b/slv2/value.h
@@ -89,7 +89,7 @@ slv2_value_equals(SLV2Value value, SLV2Value other);
* 1.0
* 1
*
- * Returned string is newly allocation and must be freed by caller.
+ * Returned string is newly allocated and must be freed by caller.
*/
char*
slv2_value_get_turtle_token(SLV2Value value);