From a4dc2635e15ab4655b08b2e082404ec10e1655c3 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 3 Nov 2011 10:08:31 +0200 Subject: Use consistent context argument name in param and result callbacks --- odb/oracle/traits.cxx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'odb/oracle/traits.cxx') diff --git a/odb/oracle/traits.cxx b/odb/oracle/traits.cxx index af0266f..22512ce 100644 --- a/odb/oracle/traits.cxx +++ b/odb/oracle/traits.cxx @@ -129,7 +129,7 @@ namespace odb } bool string_lob_value_traits:: - param_callback (const void* ctx, + param_callback (const void* c, ub4*, const void** b, ub4* s, @@ -137,7 +137,7 @@ namespace odb void*, ub4) { - const string& v (*static_cast (ctx)); + const string& v (*static_cast (c)); *p = one_chunk; *s = static_cast (v.size ()); @@ -151,7 +151,7 @@ namespace odb // bool c_string_lob_value_traits:: - param_callback (const void* ctx, + param_callback (const void* c, ub4*, const void** b, ub4* s, @@ -159,7 +159,7 @@ namespace odb void*, ub4) { - const char* v (static_cast (ctx)); + const char* v (static_cast (c)); *p = one_chunk; *s = static_cast (strlen (v)); @@ -200,7 +200,7 @@ namespace odb } bool default_value_traits, id_blob>:: - param_callback (const void* ctx, + param_callback (const void* c, ub4*, const void** b, ub4* s, @@ -208,7 +208,7 @@ namespace odb void*, ub4) { - const value_type& v (*static_cast (ctx)); + const value_type& v (*static_cast (c)); *p = one_chunk; *s = static_cast (v.size ()); @@ -249,7 +249,7 @@ namespace odb } bool default_value_traits, id_blob>:: - param_callback (const void* ctx, + param_callback (const void* c, ub4*, const void** b, ub4* s, @@ -257,7 +257,7 @@ namespace odb void*, ub4) { - const value_type& v (*static_cast (ctx)); + const value_type& v (*static_cast (c)); *p = one_chunk; *s = static_cast (v.size ()); -- cgit v1.1