diff options
author | Constantin Michael <constantin@codesynthesis.com> | 2011-10-14 13:54:04 +0200 |
---|---|---|
committer | Constantin Michael <constantin@codesynthesis.com> | 2011-10-14 14:24:23 +0200 |
commit | 2b289fe713cd0ece2ce0b5cf6309707ce8a23e1f (patch) | |
tree | 8782d9c9e7fef890140ab774727cf0489cd104d0 /odb/oracle/oracle-types.hxx | |
parent | 5f66b4f0b1370c167e9aed2334e112d07f93f3b0 (diff) |
Const qualify buffer argument in parameter callback function signature
Diffstat (limited to 'odb/oracle/oracle-types.hxx')
-rw-r--r-- | odb/oracle/oracle-types.hxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/odb/oracle/oracle-types.hxx b/odb/oracle/oracle-types.hxx index e340071..5864d0a 100644 --- a/odb/oracle/oracle-types.hxx +++ b/odb/oracle/oracle-types.hxx @@ -31,8 +31,10 @@ namespace odb typedef bool (*param_callback_type) ( const void* context, // [in] The user context. ub4* position_context, // [in] A position context. A callback is free to - // use this to track position information. - void** buffer, // [out] On return, a pointer to a buffer + // use this to track position information. This is + // initialized to zero before the callback is + // invoked for the first time. + const void** buffer, // [out] On return, a pointer to a buffer // containing parameter data. ub4* size, // [out] The parameter data size in bytes. chunk_position*, // [out] The position of the chunk of data in |