From 3bef9fa0deec36b00941f9777f66f48c48eafe77 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 20 Oct 2010 05:51:52 +0000 Subject: Remove excessive debugging stuff. --- ext/atom.lv2/atom-helpers.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'ext/atom.lv2/atom-helpers.h') 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 { -- cgit v1.2.1