summaryrefslogtreecommitdiffstats
path: root/sord
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2013-01-14 06:25:06 +0000
committerDavid Robillard <d@drobilla.net>2013-01-14 06:25:06 +0000
commitfb40f19426ce147083c26c2fe9a9805f89fb8e9b (patch)
treeebbad60e0192f378065edc2381320cdd89a393c8 /sord
parentb7e47817ea15e7075bfc65aa9a79c6ea6bf6f2ee (diff)
downloadsord-fb40f19426ce147083c26c2fe9a9805f89fb8e9b.tar.gz
sord-fb40f19426ce147083c26c2fe9a9805f89fb8e9b.tar.bz2
sord-fb40f19426ce147083c26c2fe9a9805f89fb8e9b.zip
Add Node::to_serd_node().
git-svn-id: http://svn.drobilla.net/sord/trunk@279 3d64ff67-21c5-427c-a301-fe4f08042e5a
Diffstat (limited to 'sord')
-rw-r--r--sord/sordmm.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/sord/sordmm.hpp b/sord/sordmm.hpp
index 1f7d20f..4ab25e2 100644
--- a/sord/sordmm.hpp
+++ b/sord/sordmm.hpp
@@ -161,6 +161,10 @@ public:
inline const SordNode* get_node() const { return _c_obj; }
inline SordNode* get_node() { return _c_obj; }
+ const SerdNode* to_serd_node() {
+ return sord_node_to_serd_node(_c_obj);
+ }
+
inline bool is_valid() const { return type() != UNKNOWN; }
inline bool operator<(const Node& other) const {