diff --git a/src/core/object.c b/src/core/object.c
index e9825b1d84cc122499600521a432e4bb162f24c8..65b256f908675018647e7bc41e9cda6458997ea0 100644 (file)
--- a/src/core/object.c
+++ b/src/core/object.c
++obj->ref_cnt;
} /* sdb_object_ref */
+sdb_object_t *
+sdb_object_clone(const sdb_object_t *obj)
+{
+ if ((! obj) || (! obj->type.clone))
+ return NULL;
+ return obj->type.clone(obj);
+} /* sdb_object_clone */
+
/* vim: set tw=78 sw=4 ts=4 noexpandtab : */