From 4f3316c9c7842c4c745291b6699afaade6b8531d Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 4 Feb 2011 01:49:51 +0000 Subject: Remove repeated blank lines. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2897 a436a847-0d15-0410-975c-d299462d15a1 --- slv2/collections.h | 16 ---------------- slv2/plugin.h | 27 --------------------------- slv2/pluginclass.h | 5 ----- slv2/plugininstance.h | 11 ----------- slv2/pluginui.h | 7 ------- slv2/pluginuiinstance.h | 9 --------- slv2/port.h | 12 ------------ slv2/scalepoint.h | 3 --- slv2/types.h | 15 --------------- slv2/util.h | 4 ---- slv2/value.h | 20 -------------------- slv2/world.h | 10 ---------- 12 files changed, 139 deletions(-) (limited to 'slv2') diff --git a/slv2/collections.h b/slv2/collections.h index 44ef6c7..0425655 100644 --- a/slv2/collections.h +++ b/slv2/collections.h @@ -34,7 +34,6 @@ extern "C" { * @{ */ - /* **** GENERIC COLLECTION FUNCTIONS **** */ #define SLV2_COLLECTION(CollType, ElemType, prefix) \ @@ -78,8 +77,6 @@ SLV2_COLLECTION(SLV2ScalePoints, SLV2ScalePoint, slv2_scale_points) SLV2_COLLECTION(SLV2Values, SLV2Value, slv2_values) SLV2_COLLECTION(SLV2UIs, SLV2UI, slv2_uis) - - /* **** PLUGINS **** */ /** Free a plugin collection. @@ -93,7 +90,6 @@ void slv2_plugins_free(SLV2World world, SLV2Plugins plugins); - /** Get the number of plugins in the collection. * Time = O(1) */ @@ -101,7 +97,6 @@ SLV2_API unsigned slv2_plugins_size(SLV2Plugins plugins); - /** Get a plugin from the collection by URI. * * Return value is shared (stored in \a plugins) and must not be freed or @@ -116,7 +111,6 @@ SLV2Plugin slv2_plugins_get_by_uri(SLV2Plugins plugins, SLV2Value uri); - /** Get a plugin from the plugins by index. * * \a index has no significance other than as an index into this plugins. @@ -133,8 +127,6 @@ SLV2Plugin slv2_plugins_get_at(SLV2Plugins plugins, unsigned index); - - /* **** PLUGIN CLASSES **** */ /** Get a plugin class from the collection by URI. @@ -151,8 +143,6 @@ SLV2PluginClass slv2_plugin_classes_get_by_uri(SLV2PluginClasses classes, SLV2Value uri); - - /* **** SCALE POINTS **** */ /** Allocate a new, empty SLV2ScalePoints @@ -161,8 +151,6 @@ SLV2_API SLV2ScalePoints slv2_scale_points_new(); - - /* **** VALUES **** */ /** Allocate a new, empty SLV2Values @@ -171,7 +159,6 @@ SLV2_API SLV2Values slv2_values_new(); - /** Return whether \a values contains \a value. * * Time = O(n) @@ -180,8 +167,6 @@ SLV2_API bool slv2_values_contains(SLV2Values values, SLV2Value value); - - /* **** PLUGIN UIS **** */ /** Get a plugin from the list by URI. @@ -198,7 +183,6 @@ SLV2UI slv2_uis_get_by_uri(SLV2UIs list, SLV2Value uri); - /** @} */ #ifdef __cplusplus diff --git a/slv2/plugin.h b/slv2/plugin.h index bd457f0..e94b4f3 100644 --- a/slv2/plugin.h +++ b/slv2/plugin.h @@ -41,7 +41,6 @@ extern "C" { * @{ */ - /** Check if this plugin is valid. * * This is used by plugin lists to avoid loading plugins that are not valid @@ -60,7 +59,6 @@ SLV2_API bool slv2_plugin_verify(SLV2Plugin plugin); - /** Get the URI of \a plugin. * * Any serialization that refers to plugins should refer to them by this. @@ -81,7 +79,6 @@ SLV2_API SLV2Value slv2_plugin_get_uri(SLV2Plugin plugin); - /** Get the (resolvable) URI of the plugins "main" bundle. * * This returns the URI of the bundle where the plugin itself was found. @@ -101,7 +98,6 @@ SLV2_API SLV2Value slv2_plugin_get_bundle_uri(SLV2Plugin plugin); - /** Get the (resolvable) URIs of the RDF data files that define a plugin. * * Typical hosts should not need to use this function. @@ -118,7 +114,6 @@ SLV2_API SLV2Values slv2_plugin_get_data_uris(SLV2Plugin plugin); - /** Get the (resolvable) URI of the shared library for \a plugin. * * Note this always returns a fully qualified URI. If you want a local @@ -132,7 +127,6 @@ SLV2_API SLV2Value slv2_plugin_get_library_uri(SLV2Plugin plugin); - /** Get the name of \a plugin. * * This returns the name (doap:name) of the plugin. The name may be @@ -146,14 +140,12 @@ SLV2_API SLV2Value slv2_plugin_get_name(SLV2Plugin plugin); - /** Get the class this plugin belongs to (ie Filters). */ SLV2_API SLV2PluginClass slv2_plugin_get_class(SLV2Plugin plugin); - /** Get a value associated with the plugin in a plugin's data files. * * Returns the ?object of all triples found of the form: @@ -175,7 +167,6 @@ SLV2Values slv2_plugin_get_value(SLV2Plugin p, SLV2Value predicate); - /** Get a value associated with the plugin in a plugin's data files. * * This function is identical to slv2_plugin_get_value, but takes a QName @@ -187,7 +178,6 @@ SLV2Values slv2_plugin_get_value_by_qname(SLV2Plugin p, const char* predicate); - /** Get a translated value associated with the plugin in a plugin's data files. * * This function is identical to slv2_plugin_get_value, but takes a QName @@ -200,7 +190,6 @@ SLV2Values slv2_plugin_get_value_by_qname_i18n(SLV2Plugin p, const char* predicate); - /** Get a value associated with some subject in a plugin's data files. * * Returns the ?object of all triples found of the form: @@ -226,7 +215,6 @@ slv2_plugin_get_value_for_subject(SLV2Plugin p, SLV2Value subject_uri, SLV2Value predicate_uri); - /** Return whether a feature is supported by a plugin. * * This will return true if the feature is an optional or required feature @@ -239,7 +227,6 @@ bool slv2_plugin_has_feature(SLV2Plugin p, SLV2Value feature_uri); - /** Get the LV2 Features supported (required or optionally) by a plugin. * * A feature is "supported" by a plugin if it is required OR optional. @@ -256,7 +243,6 @@ SLV2_API SLV2Values slv2_plugin_get_supported_features(SLV2Plugin p); - /** Get the LV2 Features required by a plugin. * * If a feature is required by a plugin, hosts MUST NOT use the plugin if they do not @@ -274,7 +260,6 @@ SLV2_API SLV2Values slv2_plugin_get_required_features(SLV2Plugin p); - /** Get the LV2 Features optionally supported by a plugin. * * Hosts MAY ignore optional plugin features for whatever reasons. Plugins @@ -289,7 +274,6 @@ SLV2_API SLV2Values slv2_plugin_get_optional_features(SLV2Plugin p); - /** Get the number of ports on this plugin. * * Time = O(1) @@ -298,7 +282,6 @@ SLV2_API uint32_t slv2_plugin_get_num_ports(SLV2Plugin p); - /** Get the port ranges (minimum, maximum and default values) for all ports. * * \a min_values, \a max_values and \a def_values must either point to an array @@ -344,7 +327,6 @@ SLV2_API bool slv2_plugin_has_latency(SLV2Plugin p); - /** Return the index of the plugin's latency port. * * It is a fatal error to call this on a plugin without checking if the port @@ -360,7 +342,6 @@ SLV2_API uint32_t slv2_plugin_get_latency_port_index(SLV2Plugin p); - /** Query a plugin for a single variable (i.e. SELECT a single ?value). * * \param plugin The plugin to query. @@ -377,7 +358,6 @@ slv2_plugin_query_variable(SLV2Plugin plugin, const char* sparql_str, unsigned variable); - /** Query a plugin and return the number of results found. * * Note that this function will work, but is mostly meaningless for queries @@ -393,7 +373,6 @@ unsigned slv2_plugin_query_count(SLV2Plugin plugin, const char* sparql_str); - /** Get a port on this plugin by \a index. * * To perform multiple calls on a port, the returned value should @@ -406,7 +385,6 @@ SLV2Port slv2_plugin_get_port_by_index(SLV2Plugin plugin, uint32_t index); - /** Get a port on this plugin by \a symbol. * * To perform multiple calls on a port, the returned value should @@ -421,7 +399,6 @@ SLV2Port slv2_plugin_get_port_by_symbol(SLV2Plugin plugin, SLV2Value symbol); - /** Get a list of all UIs available for this plugin. * * Note this returns the URI of the UI, and not the path/URI to its shared @@ -438,7 +415,6 @@ SLV2_API SLV2UIs slv2_plugin_get_uis(SLV2Plugin plugin); - /** Get the full name of the plugin's author. * * Returns NULL if author name is not present. @@ -450,7 +426,6 @@ SLV2_API SLV2Value slv2_plugin_get_author_name(SLV2Plugin plugin); - /** Get the email address of the plugin's author. * * Returns NULL if author email address is not present. @@ -462,7 +437,6 @@ SLV2_API SLV2Value slv2_plugin_get_author_email(SLV2Plugin plugin); - /** Get the email address of the plugin's author. * * Returns NULL if author homepage is not present. @@ -474,7 +448,6 @@ SLV2_API SLV2Value slv2_plugin_get_author_homepage(SLV2Plugin plugin); - /** @} */ #ifdef __cplusplus diff --git a/slv2/pluginclass.h b/slv2/pluginclass.h index 7e35d77..9adf551 100644 --- a/slv2/pluginclass.h +++ b/slv2/pluginclass.h @@ -29,7 +29,6 @@ extern "C" { * @{ */ - /** Get the URI of this class' superclass. * * Returned value is owned by \a plugin_class and must not be freed by caller. @@ -41,7 +40,6 @@ SLV2_API SLV2Value slv2_plugin_class_get_parent_uri(SLV2PluginClass plugin_class); - /** Get the URI of this plugin class. * * Returned value is owned by \a plugin_class and must not be freed by caller. @@ -52,7 +50,6 @@ SLV2_API SLV2Value slv2_plugin_class_get_uri(SLV2PluginClass plugin_class); - /** Get the label of this plugin class, ie "Oscillators". * * Returned value is owned by \a plugin_class and must not be freed by caller. @@ -62,7 +59,6 @@ slv2_plugin_class_get_uri(SLV2PluginClass plugin_class); SLV2_API SLV2Value slv2_plugin_class_get_label(SLV2PluginClass plugin_class); - /** Get the subclasses of this plugin class. * * Returned value must be freed by caller with slv2_plugin_classes_free. @@ -73,7 +69,6 @@ SLV2_API SLV2PluginClasses slv2_plugin_class_get_children(SLV2PluginClass plugin_class); - /** @} */ #ifdef __cplusplus diff --git a/slv2/plugininstance.h b/slv2/plugininstance.h index a6888a0..c860590 100644 --- a/slv2/plugininstance.h +++ b/slv2/plugininstance.h @@ -49,7 +49,6 @@ typedef struct _Instance { /** \endcond */ - /** \defgroup slv2_library Plugin library access * * An SLV2Instance is an instantiated SLV2Plugin (ie a loaded dynamic @@ -80,7 +79,6 @@ slv2_plugin_instantiate(SLV2Plugin plugin, double sample_rate, const LV2_Feature*const* features); - /** Free a plugin instance. * * \a instance is invalid after this call. @@ -101,7 +99,6 @@ slv2_instance_get_uri(SLV2Instance instance) return instance->lv2_descriptor->URI; } - /** Connect a port to a data location. * * This may be called regardless of whether the plugin is activated, @@ -116,7 +113,6 @@ slv2_instance_connect_port(SLV2Instance instance, (instance->lv2_handle, port_index, data_location); } - /** Activate a plugin instance. * * This resets all state information in the plugin, except for port data @@ -130,7 +126,6 @@ slv2_instance_activate(SLV2Instance instance) instance->lv2_descriptor->activate(instance->lv2_handle); } - /** Run \a instance for \a sample_count frames. * * If the hint lv2:hardRTCapable is set for this plugin, this function is @@ -144,7 +139,6 @@ slv2_instance_run(SLV2Instance instance, instance->lv2_descriptor->run(instance->lv2_handle, sample_count); } - /** Deactivate a plugin instance. * * Note that to run the plugin after this you must activate it, which will @@ -157,7 +151,6 @@ slv2_instance_deactivate(SLV2Instance instance) instance->lv2_descriptor->deactivate(instance->lv2_handle); } - /** Get extension data from the plugin instance. * * The type and semantics of the data returned is specific to the particular @@ -173,7 +166,6 @@ slv2_instance_get_extension_data(SLV2Instance instance, return NULL; } - /** Get the LV2_Descriptor of the plugin instance. * * Normally hosts should not need to access the LV2_Descriptor directly, @@ -187,7 +179,6 @@ slv2_instance_get_descriptor(SLV2Instance instance) return instance->lv2_descriptor; } - /** Get the LV2_Handle of the plugin instance. * * Normally hosts should not need to access the LV2_Handle directly, @@ -209,6 +200,4 @@ slv2_instance_get_handle(SLV2Instance instance) } /* extern "C" */ #endif - #endif /* __SLV2_PLUGININSTANCE_H__ */ - diff --git a/slv2/pluginui.h b/slv2/pluginui.h index e74ef6c..d13f920 100644 --- a/slv2/pluginui.h +++ b/slv2/pluginui.h @@ -27,7 +27,6 @@ extern "C" { * @{ */ - /** Get the URI of a Plugin UI. * * \param ui The Plugin UI @@ -39,7 +38,6 @@ SLV2_API SLV2Value slv2_ui_get_uri(SLV2UI ui); - /** Get the types (URIs of RDF classes) of a Plugin UI. * * \param ui The Plugin UI @@ -51,7 +49,6 @@ SLV2_API SLV2Values slv2_ui_get_classes(SLV2UI ui); - /** Check whether a plugin UI is a given type. * * \param ui The Plugin UI @@ -63,7 +60,6 @@ SLV2_API bool slv2_ui_is_a(SLV2UI ui, SLV2Value class_uri); - /** Get the URI for a Plugin UI's bundle. * * \param ui The Plugin UI @@ -75,7 +71,6 @@ SLV2_API SLV2Value slv2_ui_get_bundle_uri(SLV2UI ui); - /** Get the URI for a Plugin UI's shared library. * * \param ui The Plugin UI @@ -87,7 +82,6 @@ SLV2_API SLV2Value slv2_ui_get_binary_uri(SLV2UI ui); - /** @} */ #ifdef __cplusplus @@ -95,4 +89,3 @@ slv2_ui_get_binary_uri(SLV2UI ui); #endif #endif /* __SLV2_PLUGIN_UI_H__ */ - diff --git a/slv2/pluginuiinstance.h b/slv2/pluginuiinstance.h index 9dc494a..503ce53 100644 --- a/slv2/pluginuiinstance.h +++ b/slv2/pluginuiinstance.h @@ -38,12 +38,10 @@ typedef struct _SLV2UIInstance { SLV2UIInstanceImpl pimpl; ///< Private implementation }* SLV2UIInstance; - /** \addtogroup slv2_library * @{ */ - /** Instantiate a plugin UI. * * The returned object represents shared library objects loaded into memory, @@ -67,7 +65,6 @@ slv2_ui_instantiate(SLV2Plugin plugin, LV2UI_Controller controller, const LV2_Feature* const* features); - /** Free a plugin UI instance. * * It is the caller's responsibility to ensure all references to the UI @@ -80,14 +77,12 @@ SLV2_API void slv2_ui_instance_free(SLV2UIInstance instance); - /** Get the widget for the UI instance. */ SLV2_API LV2UI_Widget slv2_ui_instance_get_widget(SLV2UIInstance instance); - /** Get the LV2UI_Descriptor of the plugin UI instance. * * Normally hosts should not need to access the LV2UI_Descriptor directly, @@ -99,7 +94,6 @@ SLV2_API const LV2UI_Descriptor* slv2_ui_instance_get_descriptor(SLV2UIInstance instance); - /** Get the LV2UI_Handle of the plugin UI instance. * * Normally hosts should not need to access the LV2UI_Handle directly, @@ -111,13 +105,10 @@ SLV2_API LV2UI_Handle slv2_ui_instance_get_handle(SLV2UIInstance instance); - /** @} */ #ifdef __cplusplus } /* extern "C" */ #endif - #endif /* __SLV2_PLUGINUIINSTANCE_H__ */ - diff --git a/slv2/port.h b/slv2/port.h index b07c6a5..0f3f2da 100644 --- a/slv2/port.h +++ b/slv2/port.h @@ -32,7 +32,6 @@ extern "C" { * @{ */ - /** Port analog of slv2_plugin_get_value. * * Time = Query @@ -43,7 +42,6 @@ slv2_port_get_value(SLV2Plugin plugin, SLV2Port port, SLV2Value predicate); - /** Port analog of slv2_plugin_get_value_by_qname. * * Time = Query @@ -54,7 +52,6 @@ slv2_port_get_value_by_qname(SLV2Plugin plugin, SLV2Port port, const char* property_uri); - /** Port analog of slv2_plugin_get_value_by_qname_i18n. * * Time = Query @@ -65,7 +62,6 @@ slv2_port_get_value_by_qname_i18n(SLV2Plugin plugin, SLV2Port port, const char* property_uri); - /** Return the LV2 port properties of a port. * * Time = Query @@ -75,7 +71,6 @@ SLV2Values slv2_port_get_properties(SLV2Plugin plugin, SLV2Port port); - /** Return whether a port has a certain property. * * Time = Query @@ -86,7 +81,6 @@ slv2_port_has_property(SLV2Plugin p, SLV2Port port, SLV2Value property_uri); - /** Return whether a port is an event port and supports a certain event type. * * Time = Query @@ -97,7 +91,6 @@ slv2_port_supports_event(SLV2Plugin p, SLV2Port port, SLV2Value event_uri); - /** Get the symbol of a port. * * The 'symbol' is a short string, a valid C identifier. @@ -123,7 +116,6 @@ SLV2Value slv2_port_get_name(SLV2Plugin plugin, SLV2Port port); - /** Get all the classes of a port. * * This can be used to determine if a port is an input, output, audio, @@ -139,7 +131,6 @@ SLV2Values slv2_port_get_classes(SLV2Plugin plugin, SLV2Port port); - /** Determine if a port is of a given class (input, output, audio, etc). * * For convenience/performance/extensibility reasons, hosts are expected to @@ -157,7 +148,6 @@ slv2_port_is_a(SLV2Plugin plugin, SLV2Port port, SLV2Value port_class); - /** Get the default, minimum, and maximum values of a port. * * @a def, @a min, and @a max are outputs, pass pointers to uninitialized @@ -175,7 +165,6 @@ slv2_port_get_range(SLV2Plugin plugin, SLV2Value* min, SLV2Value* max); - /** Get the scale points (enumeration values) of a port. * * This returns a collection of 'interesting' named values of a port @@ -189,7 +178,6 @@ SLV2ScalePoints slv2_port_get_scale_points(SLV2Plugin plugin, SLV2Port port); - /** @} */ #ifdef __cplusplus diff --git a/slv2/scalepoint.h b/slv2/scalepoint.h index ce9cfbf..290ed14 100644 --- a/slv2/scalepoint.h +++ b/slv2/scalepoint.h @@ -29,7 +29,6 @@ extern "C" { * @{ */ - /** Get the label of this scale point (enumeration value) * * Returned value is owned by \a point and must not be freed. @@ -38,7 +37,6 @@ SLV2_API SLV2Value slv2_scale_point_get_label(SLV2ScalePoint point); - /** Get the value of this scale point (enumeration value) * * Returned value is owned by \a point and must not be freed. @@ -47,7 +45,6 @@ SLV2_API SLV2Value slv2_scale_point_get_value(SLV2ScalePoint point); - /** @} */ #ifdef __cplusplus diff --git a/slv2/types.h b/slv2/types.h index 61c0dda..faab351 100644 --- a/slv2/types.h +++ b/slv2/types.h @@ -53,62 +53,47 @@ extern "C" { #define SLV2_PORT_CLASS_EVENT "http://lv2plug.in/ns/ext/event#EventPort" #define SLV2_EVENT_CLASS_MIDI "http://lv2plug.in/ns/ext/midi#MidiEvent" - /** A port on a plugin. Opaque, but valid to compare to NULL. */ typedef struct _SLV2Port* SLV2Port; - /** A plugin. Opaque, but valid to compare to NULL. */ typedef struct _SLV2Plugin* SLV2Plugin; - /** A collection of plugins. Opaque, but valid to compare to NULL. */ typedef void* SLV2Plugins; - /** The world. Opaque, but valid to compare to NULL. */ typedef struct _SLV2World* SLV2World; - /** A plugin class. Opaque, but valid to compare to NULL. */ typedef struct _SLV2PluginClass* SLV2PluginClass; - /** A collection of plugin classes. Opaque, but valid to compare to NULL. */ typedef void* SLV2PluginClasses; - /** A typed value */ typedef struct _SLV2Value* SLV2Value; - /** A collection of typed values. */ typedef void* SLV2Values; - /** A scale point */ typedef struct _SLV2ScalePoint* SLV2ScalePoint; - /** A collection of scale points. */ typedef void* SLV2ScalePoints; - /** A plugin UI */ typedef struct _SLV2UI* SLV2UI; - /** A collection of plugin UIs. */ typedef void* SLV2UIs; - /** A set of query results (conceptually a table) */ typedef struct _SLV2Results* SLV2Results; - #ifdef __cplusplus } /* extern "C" */ #endif #endif /* __SLV2_TYPES_H__ */ - diff --git a/slv2/util.h b/slv2/util.h index 19a057b..b76a5bf 100644 --- a/slv2/util.h +++ b/slv2/util.h @@ -26,13 +26,11 @@ extern "C" { #include #include "slv2/types.h" - /** \defgroup slv2_util Utility functions * * @{ */ - /** Convert a full URI (eg file://foo/bar/baz.ttl) to a local path (e.g. /foo/bar/baz.ttl). * * Return value is shared and must not be deleted by caller. @@ -41,7 +39,6 @@ extern "C" { SLV2_API const char* slv2_uri_to_path(const char* uri); - /** @} */ #ifdef __cplusplus @@ -49,4 +46,3 @@ const char* slv2_uri_to_path(const char* uri); #endif #endif /* __SLV2_UTIL_H__ */ - diff --git a/slv2/value.h b/slv2/value.h index e9d1966..541c3de 100644 --- a/slv2/value.h +++ b/slv2/value.h @@ -30,7 +30,6 @@ extern "C" { * @{ */ - /** Create a new URI value. * * Returned value must be freed by caller with slv2_value_free. @@ -39,7 +38,6 @@ SLV2_API SLV2Value slv2_value_new_uri(SLV2World world, const char* uri); - /** Create a new string value (with no language). * * Returned value must be freed by caller with slv2_value_free. @@ -48,7 +46,6 @@ SLV2_API SLV2Value slv2_value_new_string(SLV2World world, const char* str); - /** Create a new integer value. * * Returned value must be freed by caller with slv2_value_free. @@ -57,7 +54,6 @@ SLV2_API SLV2Value slv2_value_new_int(SLV2World world, int val); - /** Create a new floating point value. * * Returned value must be freed by caller with slv2_value_free. @@ -66,28 +62,24 @@ SLV2_API SLV2Value slv2_value_new_float(SLV2World world, float val); - /** Free an SLV2Value. */ SLV2_API void slv2_value_free(SLV2Value val); - /** Duplicate an SLV2Value. */ SLV2_API SLV2Value slv2_value_duplicate(SLV2Value val); - /** Return whether two values are equivalent. */ SLV2_API bool slv2_value_equals(SLV2Value value, SLV2Value other); - /** Return this value as a Turtle/SPARQL token. * Examples: * @@ -102,7 +94,6 @@ SLV2_API char* slv2_value_get_turtle_token(SLV2Value value); - /** Return whether the value is a URI (resource). * * Time = O(1) @@ -111,7 +102,6 @@ SLV2_API bool slv2_value_is_uri(SLV2Value value); - /** Return this value as a URI string, e.g. "http://example.org/foo". * * Valid to call only if slv2_value_is_uri(\a value) returns true. @@ -123,7 +113,6 @@ SLV2_API const char* slv2_value_as_uri(SLV2Value value); - /** Return whether the value is a blank node (resource with no URI). * * Time = O(1) @@ -132,7 +121,6 @@ SLV2_API bool slv2_value_is_blank(SLV2Value value); - /** Return this value as a blank node identifier, e.g. "genid03". * * Valid to call only if slv2_value_is_blank(\a value) returns true. @@ -144,7 +132,6 @@ SLV2_API const char* slv2_value_as_blank(SLV2Value value); - /** Return whether this value is a literal (i.e. not a URI). * * Returns true if \a value is a string or numeric value. @@ -155,7 +142,6 @@ SLV2_API bool slv2_value_is_literal(SLV2Value value); - /** Return whether this value is a string literal. * * Returns true if \a value is a string (but not numeric) value. @@ -166,7 +152,6 @@ SLV2_API bool slv2_value_is_string(SLV2Value value); - /** Return \a value as a string. * * Time = O(1) @@ -175,7 +160,6 @@ SLV2_API const char* slv2_value_as_string(SLV2Value value); - /** Return whether this value is a decimal literal. * * Time = O(1) @@ -184,7 +168,6 @@ SLV2_API bool slv2_value_is_float(SLV2Value value); - /** Return \a value as a float. * * Valid to call only if slv2_value_is_float(\a value) or @@ -196,7 +179,6 @@ SLV2_API float slv2_value_as_float(SLV2Value value); - /** Return whether this value is an integer literal. * * Time = O(1) @@ -205,7 +187,6 @@ SLV2_API bool slv2_value_is_int(SLV2Value value); - /** Return \a value as an integer. * * Valid to call only if slv2_value_is_int(\a value) returns true. @@ -216,7 +197,6 @@ SLV2_API int slv2_value_as_int(SLV2Value value); - /** @} */ #ifdef __cplusplus diff --git a/slv2/world.h b/slv2/world.h index 04d80a9..4404c3f 100644 --- a/slv2/world.h +++ b/slv2/world.h @@ -44,7 +44,6 @@ extern "C" { * @{ */ - /** Initialize a new, empty world. * * If initialization fails, NULL is returned. @@ -53,7 +52,6 @@ SLV2_API SLV2World slv2_world_new(); - /** Destroy the world, mwahaha. * * NB: Destroying the world will leave dangling references in any plugin lists, @@ -64,7 +62,6 @@ SLV2_API void slv2_world_free(SLV2World world); - /** Load all installed LV2 bundles on the system. * * This is the recommended way for hosts to load LV2 data. It does the most @@ -82,7 +79,6 @@ SLV2_API void slv2_world_load_all(SLV2World world); - /** Load a specific bundle. * * \arg bundle_uri A fully qualified URI to the bundle directory, @@ -106,7 +102,6 @@ void slv2_world_load_bundle(SLV2World world, SLV2Value bundle_uri); - /** Get the parent of all other plugin classes, lv2:Plugin. * * Time = O(1) @@ -115,7 +110,6 @@ SLV2_API SLV2PluginClass slv2_world_get_plugin_class(SLV2World world); - /** Return a list of all found plugin classes. * * Returned list is owned by world and must not be freed by the caller. @@ -126,7 +120,6 @@ SLV2_API SLV2PluginClasses slv2_world_get_plugin_classes(SLV2World world); - /** Return a list of all found plugins. * * The returned list contains just enough references to query @@ -144,7 +137,6 @@ SLV2_API SLV2Plugins slv2_world_get_all_plugins(SLV2World world); - /** Return a list of found plugins filtered by a user-defined filter function. * * All plugins currently found in \a world that return true when passed to @@ -161,7 +153,6 @@ SLV2Plugins slv2_world_get_plugins_by_filter(SLV2World world, bool (*include)(SLV2Plugin)); - /** @} */ #ifdef __cplusplus @@ -169,4 +160,3 @@ slv2_world_get_plugins_by_filter(SLV2World world, #endif #endif /* __SLV2_WORLD_H__ */ - -- cgit v1.2.1