summaryrefslogtreecommitdiffstats
path: root/src/sp-object.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp-object.cpp')
-rw-r--r--src/sp-object.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/sp-object.cpp b/src/sp-object.cpp
index f77f228cb..5e0f72758 100644
--- a/src/sp-object.cpp
+++ b/src/sp-object.cpp
@@ -946,6 +946,17 @@ void SPObject::releaseReferences() {
this->repr = NULL;
}
+
+SPObject *SPObject::getNext()
+{
+ return next;
+}
+
+SPObject *SPObject::getPrev()
+{
+ return sp_object_prev(this);
+}
+
/**
* Callback for child_added node event.
*/