From 43dd122ffcdb6a0b40a56777245a870e411d439c Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 7 Jan 2008 03:29:57 +0000 Subject: Raul 0.4.0. FlowCanvas 0.4.0. Patchage 0.4.0. git-svn-id: http://svn.drobilla.net/lad/raul@1028 a436a847-0d15-0410-975c-d299462d15a1 --- raul/AtomLiblo.hpp | 12 +++++++----- raul/AtomRDF.hpp | 12 +++++++----- 2 files changed, 14 insertions(+), 10 deletions(-) (limited to 'raul') diff --git a/raul/AtomLiblo.hpp b/raul/AtomLiblo.hpp index 3491b3a..682026a 100644 --- a/raul/AtomLiblo.hpp +++ b/raul/AtomLiblo.hpp @@ -15,11 +15,6 @@ * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -/** @file Conversion from Raul Atom to Liblo OSC arguments and vice-versa. - * This header depends on liblo, only apps which directly depend on - * both raul and liblo should include it. - */ - #ifndef RAUL_ATOM_LIBLO_HPP #define RAUL_ATOM_LIBLO_HPP @@ -27,8 +22,14 @@ #include namespace Raul { + +/** Conversion between Raul Atoms and Liblo OSC arguments. + * This code (in header raul/AtomLiblo.hpp) depends on liblo, only apps which + * directly depend on both raul and liblo should include it. + */ namespace AtomLiblo { +/** Append a Raul Atom as a parameter to a liblo message */ inline void lo_message_add_atom(lo_message m, const Atom& atom) { @@ -54,6 +55,7 @@ lo_message_add_atom(lo_message m, const Atom& atom) } +/** Convert a liblo argument to a Raul::Atom */ inline Atom lo_arg_to_atom(char type, lo_arg* arg) { diff --git a/raul/AtomRDF.hpp b/raul/AtomRDF.hpp index 2934a2a..53fd67d 100644 --- a/raul/AtomRDF.hpp +++ b/raul/AtomRDF.hpp @@ -15,11 +15,6 @@ * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -/** @file Conversion from Raul Atom to Redlandmm RDF Node and vice-versa. - * This header depends on redlandmm, only apps which directly depend on - * both raul and redlandmm should include it. - */ - #ifndef RAUL_ATOM_RDF_HPP #define RAUL_ATOM_RDF_HPP @@ -35,8 +30,14 @@ #define CUC(x) ((const unsigned char*)(x)) namespace Raul { + +/** Conversion between Raul Atoms and Redlandmm RDF nodes. + * This code (in header raul/AtomRDF.hpp) depends on redlandmm, only apps + * which directly depend on both raul and liblo should include it. + */ namespace AtomRDF { +/** Convert a Redland::Node to a Raul::Atom */ inline Atom node_to_atom(const Redland::Node& node) { @@ -53,6 +54,7 @@ node_to_atom(const Redland::Node& node) } +/** Convert a Raul::Atom to a Redland::Node */ inline Redland::Node atom_to_node(Redland::World& world, const Atom& atom) { -- cgit v1.2.1