From 9423949cfe2975a5ed13c514c623127325919070 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 23 Feb 2012 03:38:16 +0000 Subject: Update for latest Atom extension. Seriatom => Sratom. git-svn-id: http://svn.drobilla.net/lad/trunk/sratom@3996 a436a847-0d15-0410-975c-d299462d15a1 --- sratom/sratom.h | 54 +++++++++++++++++++++++++++--------------------------- 1 file changed, 27 insertions(+), 27 deletions(-) (limited to 'sratom') diff --git a/sratom/sratom.h b/sratom/sratom.h index 1fe2547..d063d8c 100644 --- a/sratom/sratom.h +++ b/sratom/sratom.h @@ -15,11 +15,11 @@ */ /** - @file seriatom.h API for Seriatom, an LV2 Atom RDF serialisation library. + @file sratom.h API for Sratom, an LV2 Atom RDF serialisation library. */ -#ifndef SERIATOM_SERIATOM_H -#define SERIATOM_SERIATOM_H +#ifndef SRATOM_SRATOM_H +#define SRATOM_SRATOM_H #include @@ -27,21 +27,21 @@ #include "lv2/lv2plug.in/ns/ext/urid/urid.h" #include "serd/serd.h" -#ifdef SERIATOM_SHARED +#ifdef SRATOM_SHARED # ifdef _WIN32 -# define SERIATOM_LIB_IMPORT __declspec(dllimport) -# define SERIATOM_LIB_EXPORT __declspec(dllexport) +# define SRATOM_LIB_IMPORT __declspec(dllimport) +# define SRATOM_LIB_EXPORT __declspec(dllexport) # else -# define SERIATOM_LIB_IMPORT __attribute__((visibility("default"))) -# define SERIATOM_LIB_EXPORT __attribute__((visibility("default"))) +# define SRATOM_LIB_IMPORT __attribute__((visibility("default"))) +# define SRATOM_LIB_EXPORT __attribute__((visibility("default"))) # endif -# ifdef SERIATOM_INTERNAL -# define SERIATOM_API SERIATOM_LIB_EXPORT +# ifdef SRATOM_INTERNAL +# define SRATOM_API SRATOM_LIB_EXPORT # else -# define SERIATOM_API SERIATOM_LIB_IMPORT +# define SRATOM_API SRATOM_LIB_IMPORT # endif #else -# define SERIATOM_API +# define SRATOM_API #endif #ifdef __cplusplus @@ -49,7 +49,7 @@ extern "C" { #endif /** - @defgroup seriatom Seriatom + @defgroup sratom Sratom An LV2 Atom RDF serialisation library. @{ */ @@ -57,29 +57,29 @@ extern "C" { /** Atom serialiser. */ -typedef struct SeriatomImpl Seriatom; +typedef struct SratomImpl Sratom; /** Create a new Atom serialiser. */ -SERIATOM_API -Seriatom* -seriatom_new(LV2_URID_Map* map, - LV2_URID_Unmap* unmap); +SRATOM_API +Sratom* +sratom_new(LV2_URID_Map* map, + LV2_URID_Unmap* unmap); /** Free an Atom serialisation. */ -SERIATOM_API +SRATOM_API void -seriatom_free(Seriatom* seriatom); +sratom_free(Sratom* sratom); /** Serialise an Atom to a SerdWriter. */ -SERIATOM_API +SRATOM_API void -atom_to_rdf(Seriatom* seriatom, +atom_to_rdf(Sratom* sratom, const SerdNode* subject, const SerdNode* predicate, const LV2_Atom* atom, @@ -88,9 +88,9 @@ atom_to_rdf(Seriatom* seriatom, /** Serialise an Atom body to a SerdWriter. */ -SERIATOM_API +SRATOM_API void -atom_body_to_rdf(Seriatom* seriatom, +atom_body_to_rdf(Sratom* sratom, const SerdNode* subject, const SerdNode* predicate, uint32_t type_urid, @@ -102,9 +102,9 @@ atom_body_to_rdf(Seriatom* seriatom, Serialise an Atom to a Turtle string. The returned string must be free()'d by the caller. */ -SERIATOM_API +SRATOM_API char* -atom_to_turtle(Seriatom* seriatom, +atom_to_turtle(Sratom* sratom, const SerdNode* subject, const SerdNode* predicate, const LV2_Atom* atom); @@ -117,4 +117,4 @@ atom_to_turtle(Seriatom* seriatom, } /* extern "C" */ #endif -#endif /* SERIATOM_SERIATOM_H */ +#endif /* SRATOM_SRATOM_H */ -- cgit v1.2.1