summaryrefslogtreecommitdiffstats
path: root/src/shared/LV2Object.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-05-04 04:22:46 +0000
committerDavid Robillard <d@drobilla.net>2010-05-04 04:22:46 +0000
commita377fe171dd248f9418634f5f23d10a9440fd920 (patch)
treeaf17a5315a8c697d67fa8dbcb7695770345dc202 /src/shared/LV2Object.cpp
parent5fcc724a4bcd9a8111a0a6d483e3d6dcbe97a2d5 (diff)
downloadingen-a377fe171dd248f9418634f5f23d10a9440fd920.tar.gz
ingen-a377fe171dd248f9418634f5f23d10a9440fd920.tar.bz2
ingen-a377fe171dd248f9418634f5f23d10a9440fd920.zip
Rename "object" extension "atom" extension.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2561 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/shared/LV2Object.cpp')
-rw-r--r--src/shared/LV2Object.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/shared/LV2Object.cpp b/src/shared/LV2Object.cpp
index 4388ede8..9000320f 100644
--- a/src/shared/LV2Object.cpp
+++ b/src/shared/LV2Object.cpp
@@ -18,7 +18,7 @@
#include "raul/log.hpp"
#include "raul/Atom.hpp"
#include "uri-map.lv2/uri-map.h"
-#include "object.lv2/object.h"
+#include "atom.lv2/atom.h"
#include "LV2Features.hpp"
#include "LV2Object.hpp"
#include "LV2URIMap.hpp"
@@ -32,7 +32,7 @@ namespace LV2Object {
bool
-to_atom(const Shared::LV2URIMap& uris, const LV2_Object* object, Raul::Atom& atom)
+to_atom(const Shared::LV2URIMap& uris, const LV2_Atom* object, Raul::Atom& atom)
{
if (object->type == uris.object_class_string.id) {
atom = Raul::Atom((char*)(object + 1));
@@ -55,7 +55,7 @@ to_atom(const Shared::LV2URIMap& uris, const LV2_Object* object, Raul::Atom& ato
* object->size should be the capacity of the object (not including header)
*/
bool
-from_atom(const Shared::LV2URIMap& uris, const Raul::Atom& atom, LV2_Object* object)
+from_atom(const Shared::LV2URIMap& uris, const Raul::Atom& atom, LV2_Atom* object)
{
char* str;
switch (atom.type()) {