From 6fc7cd53ee08fdf84202c0a0b2c43ddb50630bd7 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 16 Mar 2011 16:46:13 +0000 Subject: Tidy documentation. --- core.lv2/lv2config.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/core.lv2/lv2config.c b/core.lv2/lv2config.c index 7674c14..e69b601 100644 --- a/core.lv2/lv2config.c +++ b/core.lv2/lv2config.c @@ -43,11 +43,13 @@ #define NS_RDF "http://www.w3.org/1999/02/22-rdf-syntax-ns#" #define NS_LV2 "http://lv2plug.in/ns/lv2core#" +/** Record of an LV2 specification. */ typedef struct _Spec { SerdNode uri; SerdNode manifest; } Spec; +/** Global lv2config state. */ typedef struct { SerdReader reader; SerdReadState state; @@ -56,7 +58,7 @@ typedef struct { size_t n_specs; } World; -/* Append a discovered specification to world->specs. */ +/** Append a discovered specification to world->specs. */ void add_spec(World* world, SerdNode* uri, @@ -83,7 +85,7 @@ free_specs(World* world) world->n_specs = 0; } -/** Reader @base directive handler. */ +/** Reader base directive handler. */ bool on_base(void* handle, const SerdNode* uri_node) @@ -92,7 +94,7 @@ on_base(void* handle, return serd_read_state_set_base_uri(world->state, uri_node); } -/** Reader @prefix directive handler. */ +/** Reader prefix directive handler. */ static bool on_prefix(void* handle, const SerdNode* name, @@ -156,7 +158,7 @@ scan_manifest(World* world, const char* uri) world->state = NULL; } -/** Expand variables, ~, etc. in path. */ +/** Expand variables (e.g. ~) in path. */ static char* expand(const char* path) { -- cgit v1.2.1