blob: 3b10a3cff4ad90e3f9f31896364b819e90ba6905 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
// file : odb/oracle/details/number.hxx
// author : Constantin Michael <constantin@codesynthesis.com>
// copyright : Copyright (c) 2005-2011 Code Synthesis Tools CC
// license : ODB NCUEL; see accompanying LICENSE file
#ifndef ODB_ORACLE_NUMBER_HXX
#define ODB_ORACLE_NUMBER_HXX
#include <odb/pre.hxx>
#include <cstddef> // std::size_t
#include <odb/oracle/details/export.hxx>
namespace odb
{
// @@ Revise this.
//
namespace details
{
}
namespace oracle
{
namespace details
{
using namespace odb::details;
LIBODB_ORACLE_EXPORT long long
number_to_int64 (const char* buffer, std::size_t n);
LIBODB_ORACLE_EXPORT void
int64_to_number (char* buffer, std::size_t& n, long long val);
LIBODB_ORACLE_EXPORT unsigned long long
number_to_uint64 (const char* buffer, std::size_t n);
LIBODB_ORACLE_EXPORT void
uint64_to_number (char* buffer, std::size_t& n, unsigned long long val);
}
}
}
#include <odb/post.hxx>
#endif // ODB_ORACLE_NUMBER_HXX
|