aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConstantin Michael <constantin@codesynthesis.com>2011-09-08 09:22:22 +0200
committerConstantin Michael <constantin@codesynthesis.com>2011-09-08 09:22:22 +0200
commitd16db7299b24feab97f40750ddead498825de48b (patch)
tree04d7c2b25e0b170e0b83c33e684d7339b39be22b
parent018b03a845aaa217303412e1c3a4b33617868cd3 (diff)
Rename RETURNING clause callbacks
-rw-r--r--odb/oracle/statement.cxx38
1 files changed, 19 insertions, 19 deletions
diff --git a/odb/oracle/statement.cxx b/odb/oracle/statement.cxx
index 861a0f5..d61e172 100644
--- a/odb/oracle/statement.cxx
+++ b/odb/oracle/statement.cxx
@@ -197,14 +197,14 @@ namespace odb
//
static sb4
- returning_in_cb (void* context,
- OCIBind*, // bind
- ub4, // iter
- ub4, // index
- void** buffer,
- ub4* len,
- ub1* piece,
- void** indicator)
+ returning_in (void* context,
+ OCIBind*, // bind
+ ub4, // iter
+ ub4, // index
+ void** buffer,
+ ub4* len,
+ ub1* piece,
+ void** indicator)
{
typedef insert_statement::id_bind_type bind;
@@ -220,15 +220,15 @@ namespace odb
}
static sb4
- returning_out_cb (void* context,
- OCIBind*, // bind
- ub4, // iter
- ub4, // index
- void** buffer,
- ub4** len,
- ub1*, // piece
- void** ind,
- ub2** rcode)
+ returning_out (void* context,
+ OCIBind*, // bind
+ ub4, // iter
+ ub4, // index
+ void** buffer,
+ ub4** len,
+ ub1*, // piece
+ void** ind,
+ ub2** rcode)
{
typedef insert_statement::id_bind_type bind;
@@ -293,9 +293,9 @@ namespace odb
r = OCIBindDynamic (h,
err,
reinterpret_cast<void*> (&id_bind_),
- &returning_in_cb,
+ &returning_in,
reinterpret_cast<void*> (&id_bind_),
- &returning_out_cb);
+ &returning_out);
if (r == OCI_ERROR || r == OCI_INVALID_HANDLE)
translate_error (err, r);