From eab58ce7e8a143e663cc76839595a76b55392881 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 10 Sep 2016 00:07:43 +0200 Subject: Document all URI defines This makes headers somewhat redundant and too wide, but it's the only way I can get Doxygen to make links to the corresponding spec documentation, because it doesn't linkify URIs in strings. --- lv2/lv2plug.in/ns/ext/resize-port/resize-port.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'lv2/lv2plug.in/ns/ext/resize-port') diff --git a/lv2/lv2plug.in/ns/ext/resize-port/resize-port.h b/lv2/lv2plug.in/ns/ext/resize-port/resize-port.h index b8015dd..490c1d6 100644 --- a/lv2/lv2plug.in/ns/ext/resize-port/resize-port.h +++ b/lv2/lv2plug.in/ns/ext/resize-port/resize-port.h @@ -28,12 +28,12 @@ #include #include -#define LV2_RESIZE_PORT_URI "http://lv2plug.in/ns/ext/resize-port" -#define LV2_RESIZE_PORT_PREFIX LV2_RESIZE_PORT_URI "#" +#define LV2_RESIZE_PORT_URI "http://lv2plug.in/ns/ext/resize-port" ///< http://lv2plug.in/ns/ext/resize-port +#define LV2_RESIZE_PORT_PREFIX LV2_RESIZE_PORT_URI "#" ///< http://lv2plug.in/ns/ext/resize-port# -#define LV2_RESIZE_PORT__asLargeAs LV2_RESIZE_PORT_PREFIX "asLargeAs" -#define LV2_RESIZE_PORT__minimumSize LV2_RESIZE_PORT_PREFIX "minimumSize" -#define LV2_RESIZE_PORT__resize LV2_RESIZE_PORT_PREFIX "resize" +#define LV2_RESIZE_PORT__asLargeAs LV2_RESIZE_PORT_PREFIX "asLargeAs" ///< http://lv2plug.in/ns/ext/port#asLargeAs +#define LV2_RESIZE_PORT__minimumSize LV2_RESIZE_PORT_PREFIX "minimumSize" ///< http://lv2plug.in/ns/ext/port#minimumSize +#define LV2_RESIZE_PORT__resize LV2_RESIZE_PORT_PREFIX "resize" ///< http://lv2plug.in/ns/ext/port#resize #ifdef __cplusplus extern "C" { @@ -48,10 +48,12 @@ typedef enum { LV2_RESIZE_PORT_ERR_NO_SPACE = 2 /**< Insufficient space. */ } LV2_Resize_Port_Status; +/** Opaque data for resize method. */ typedef void* LV2_Resize_Port_Feature_Data; /** Host feature to allow plugins to resize their port buffers. */ typedef struct { + /** Opaque data for resize method. */ LV2_Resize_Port_Feature_Data data; /** -- cgit v1.2.1