diff options
author | David Robillard <d@drobilla.net> | 2007-09-22 19:43:11 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-09-22 19:43:11 +0000 |
commit | dcc48b2bc64e7b2f05fd968d279dbeec52a720d5 (patch) | |
tree | bd5b5c8c8679b28ee0e4401a3e7763d911c8da07 | |
parent | 8eb2505498ba0e51f0d861a92a365e1766d43b76 (diff) | |
download | raul-dcc48b2bc64e7b2f05fd968d279dbeec52a720d5.tar.gz raul-dcc48b2bc64e7b2f05fd968d279dbeec52a720d5.tar.bz2 raul-dcc48b2bc64e7b2f05fd968d279dbeec52a720d5.zip |
LV2 UI extension updates.
LV2 GUI support in ingen.
git-svn-id: http://svn.drobilla.net/lad/raul@763 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r-- | configure.ac | 8 | ||||
-rw-r--r-- | src/RDFNode.cpp | 2 |
2 files changed, 6 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index fe7a8b4..be911ca 100644 --- a/configure.ac +++ b/configure.ac @@ -68,11 +68,11 @@ if test "$debug_symbols" = "yes"; then fi if test "$debug_assertions" = "yes"; then - CFLAGS="$CFLAGS -DDEBUG" - CXXFLAGS="$CXXFLAGS -DDEBUG" + CFLAGS="$CFLAGS -DDEBUG -DLIBRDF_DEBUG" + CXXFLAGS="$CXXFLAGS -DDEBUG -DLIBRDF_DEBUG" else - CFLAGS="$CFLAGS -DNDEBUG" - CXXFLAGS="$CXXFLAGS -DNDEBUG" + CFLAGS="$CFLAGS -DNDEBUG -DLIBRDF_DEBUG" + CXXFLAGS="$CXXFLAGS -DNDEBUG -DLIBRDF_DEBUG" fi # Boost shared_ptr debugging diff --git a/src/RDFNode.cpp b/src/RDFNode.cpp index 01c0ffb..d70389e 100644 --- a/src/RDFNode.cpp +++ b/src/RDFNode.cpp @@ -88,6 +88,7 @@ Node::to_string() const { const Type type = this->type(); if (type == RESOURCE) { + assert(librdf_node_get_uri(_node)); return string((const char*)librdf_uri_as_string(librdf_node_get_uri(_node))); } else if (type == LITERAL) { return string((const char*)librdf_node_get_literal_value(_node)); @@ -103,6 +104,7 @@ string Node::to_quoted_uri_string() const { assert(type() == RESOURCE); + assert(librdf_node_get_uri(_node)); string str = "<"; str.append((const char*)librdf_uri_as_string(librdf_node_get_uri(_node))); str.append(">"); |