aboutsummaryrefslogtreecommitdiffstats
path: root/lv2/lv2plug.in/ns/ext/log
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2016-09-10 00:07:43 +0200
committerDavid Robillard <d@drobilla.net>2016-09-10 00:07:43 +0200
commiteab58ce7e8a143e663cc76839595a76b55392881 (patch)
treeaf38f9c9ff9a6879bc5dc652c0d4118b988bdbb5 /lv2/lv2plug.in/ns/ext/log
parente2757de4621dbcc8508e163ea52d0c4e97f932f3 (diff)
downloadlv2-eab58ce7e8a143e663cc76839595a76b55392881.tar.xz
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.
Diffstat (limited to 'lv2/lv2plug.in/ns/ext/log')
-rw-r--r--lv2/lv2plug.in/ns/ext/log/log.h18
1 files changed, 10 insertions, 8 deletions
diff --git a/lv2/lv2plug.in/ns/ext/log/log.h b/lv2/lv2plug.in/ns/ext/log/log.h
index 5245010..8303b37 100644
--- a/lv2/lv2plug.in/ns/ext/log/log.h
+++ b/lv2/lv2plug.in/ns/ext/log/log.h
@@ -26,15 +26,15 @@
#ifndef LV2_LOG_H
#define LV2_LOG_H
-#define LV2_LOG_URI "http://lv2plug.in/ns/ext/log"
-#define LV2_LOG_PREFIX LV2_LOG_URI "#"
+#define LV2_LOG_URI "http://lv2plug.in/ns/ext/log" ///< http://lv2plug.in/ns/ext/log
+#define LV2_LOG_PREFIX LV2_LOG_URI "#" ///< http://lv2plug.in/ns/ext/log#
-#define LV2_LOG__Entry LV2_LOG_PREFIX "Entry"
-#define LV2_LOG__Error LV2_LOG_PREFIX "Error"
-#define LV2_LOG__Note LV2_LOG_PREFIX "Note"
-#define LV2_LOG__Trace LV2_LOG_PREFIX "Trace"
-#define LV2_LOG__Warning LV2_LOG_PREFIX "Warning"
-#define LV2_LOG__log LV2_LOG_PREFIX "log"
+#define LV2_LOG__Entry LV2_LOG_PREFIX "Entry" ///< http://lv2plug.in/ns/ext/log#Entry
+#define LV2_LOG__Error LV2_LOG_PREFIX "Error" ///< http://lv2plug.in/ns/ext/log#Error
+#define LV2_LOG__Note LV2_LOG_PREFIX "Note" ///< http://lv2plug.in/ns/ext/log#Note
+#define LV2_LOG__Trace LV2_LOG_PREFIX "Trace" ///< http://lv2plug.in/ns/ext/log#Trace
+#define LV2_LOG__Warning LV2_LOG_PREFIX "Warning" ///< http://lv2plug.in/ns/ext/log#Warning
+#define LV2_LOG__log LV2_LOG_PREFIX "log" ///< http://lv2plug.in/ns/ext/log#log
#include <stdarg.h>
@@ -44,12 +44,14 @@
extern "C" {
#endif
+/** @cond */
#ifdef __GNUC__
/** Allow type checking of printf-like functions. */
# define LV2_LOG_FUNC(fmt, arg1) __attribute__((format(printf, fmt, arg1)))
#else
# define LV2_LOG_FUNC(fmt, arg1)
#endif
+/** @endcond */
/**
Opaque data to host data for LV2_Log_Log.