aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--odb/details/buffer.hxx12
1 files changed, 12 insertions, 0 deletions
diff --git a/odb/details/buffer.hxx b/odb/details/buffer.hxx
index 2b26e8c..394d96e 100644
--- a/odb/details/buffer.hxx
+++ b/odb/details/buffer.hxx
@@ -64,6 +64,18 @@ namespace odb
{
return static_cast<T*> (data_);
}
+
+ void**
+ data_ptr ()
+ {
+ return &data_;
+ }
+
+ const void**
+ data_ptr () const
+ {
+ return &data_;
+ }
};
typedef basic_buffer<char> buffer;