~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/internal/m_string.h

  • Committer: Lee Bieber
  • Date: 2011-01-28 21:08:33 UTC
  • mfrom: (2119.4.3 try-visibility)
  • Revision ID: kalebral@gmail.com-20110128210833-nro17n81etdpcylm
Merge Monty - Enable -fvisibility=hidden

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
/* There may be prolems include all of theese. Try to test in
17
17
   configure with ones are needed? */
18
18
 
19
 
/*  This is needed for the definitions of strchr... on solaris */
20
19
 
21
20
 
22
21
#ifndef DRIZZLED_INTERNAL_M_STRING_H
40
39
#include <memory.h>
41
40
#endif
42
41
 
 
42
 
 
43
#include "drizzled/visibility.h"
 
44
 
43
45
namespace drizzled
44
46
{
45
47
namespace internal
68
70
  MY_GCVT_ARG_DOUBLE
69
71
} my_gcvt_arg_type;
70
72
 
71
 
double my_strtod(const char *str, char **end, int *error);
72
 
double my_atof(const char *nptr);
73
 
size_t my_fcvt(double x, int precision, char *to, bool *error);
74
 
size_t my_gcvt(double x, my_gcvt_arg_type type, int width, char *to,
75
 
               bool *error);
 
73
DRIZZLED_API double my_strtod(const char *str, char **end, int *error);
 
74
DRIZZLED_API double my_atof(const char *nptr);
 
75
DRIZZLED_API size_t my_fcvt(double x, int precision, char *to, bool *error);
 
76
DRIZZLED_API size_t my_gcvt(double x, my_gcvt_arg_type type, int width, char *to,
 
77
                            bool *error);
76
78
 
77
79
#define NOT_FIXED_DEC (uint8_t)31
78
80
 
106
108
 
107
109
extern char *int2str(int32_t val, char *dst, int radix, int upcase);
108
110
extern char *int10_to_str(int32_t val,char *dst,int radix);
109
 
int64_t my_strtoll10(const char *nptr, char **endptr, int *error);
110
 
extern char *int64_t2str(int64_t val,char *dst,int radix);
111
 
extern char *int64_t10_to_str(int64_t val,char *dst,int radix);
 
111
DRIZZLED_API int64_t my_strtoll10(const char *nptr, char **endptr, int *error);
 
112
DRIZZLED_API char *int64_t2str(int64_t val,char *dst,int radix);
 
113
DRIZZLED_API char *int64_t10_to_str(int64_t val,char *dst,int radix);
112
114
 
113
115
 
114
116
/**