aboutsummaryrefslogtreecommitdiffstats
path: root/ext/atom.lv2/atom-helpers.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-10-20 05:51:52 +0000
committerDavid Robillard <d@drobilla.net>2010-10-20 05:51:52 +0000
commit3bef9fa0deec36b00941f9777f66f48c48eafe77 (patch)
treeac28ba76490bb56df7555203c212d77bb13b4bc2 /ext/atom.lv2/atom-helpers.h
parente959fd739215f73d88eb233bac12375f52fa28d7 (diff)
downloadlv2-3bef9fa0deec36b00941f9777f66f48c48eafe77.tar.xz
Remove excessive debugging stuff.
Diffstat (limited to 'ext/atom.lv2/atom-helpers.h')
-rw-r--r--ext/atom.lv2/atom-helpers.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/ext/atom.lv2/atom-helpers.h b/ext/atom.lv2/atom-helpers.h
index 883608e..7fc125f 100644
--- a/ext/atom.lv2/atom-helpers.h
+++ b/ext/atom.lv2/atom-helpers.h
@@ -119,28 +119,21 @@ lv2_atom_is_a(LV2_Atom* object,
uint32_t type)
{
if (lv2_atom_is_null(object)) {
- printf("is-a null\n");
return false;
}
if (object->type == type) {
- printf("is-a exact type\n");
return true;
}
- printf("is-a rdf-type: %d int: %d object: %d type: %d\n", rdf_type, atom_URIInt, atom_Object, type);
-
if (object->type == atom_Object) {
for (LV2_Atom_Object_Iter i = lv2_atom_object_get_iter((LV2_Atom_Property*)object->body);
!lv2_atom_object_iter_is_end(object, i);
i = lv2_atom_object_iter_next(i)) {
LV2_Atom_Property* prop = lv2_atom_object_iter_get(i);
- printf("is-a prop %d\n", prop->predicate);
if (prop->predicate == rdf_type) {
- printf("is-a rdf:type [ type: %u size: %u ]\n", prop->object.type, prop->object.size);
if (prop->object.type == atom_URIInt) {
const uint32_t object_type = *(uint32_t*)prop->object.body;
- printf("rdf:type is-a URIInt type: %u\n", object_type);
if (object_type == type)
return true;
} else {