~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/util/convert.h

  • Committer: Monty Taylor
  • Date: 2010-02-05 08:11:15 UTC
  • mfrom: (1283 build)
  • mto: (1273.13.43 fix_is)
  • mto: This revision was merged to the branch mainline in revision 1300.
  • Revision ID: mordred@inaugust.com-20100205081115-dr82nvrwv4lvw7sd
Merged trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
#include <string>
25
25
#include <iostream>
26
26
#include <sstream>
27
 
#include <stdint.h>
 
27
 
 
28
namespace drizzled
 
29
{
28
30
 
29
31
template <class T>
30
32
std::string to_string(T t)
44
46
 
45
47
void bytesToHexdumpFormat(std::string &s, const unsigned char *from, size_t from_length);
46
48
 
47
 
extern "C"
48
 
{
49
 
  uint64_t drizzled_string_to_hex(char *to, const char *from,
50
 
                                  uint64_t from_size);
51
 
}
 
49
uint64_t drizzled_string_to_hex(char *to, const char *from,
 
50
                                uint64_t from_size);
 
51
 
 
52
} /* namespace drizzled */
52
53
 
53
54
#endif /* DRIZZLED_UTIL_CONVERT_H */