~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/internal/m_string.h

  • Committer: Brian Aker
  • Date: 2010-12-25 00:28:49 UTC
  • mto: This revision was merged to the branch mainline in revision 2031.
  • Revision ID: brian@tangent.org-20101225002849-g73mg6ihulajis0o
First pass in refactoring of the name of my_decimal.

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 */
19
20
 
20
21
 
21
22
#ifndef DRIZZLED_INTERNAL_M_STRING_H
39
40
#include <memory.h>
40
41
#endif
41
42
 
42
 
 
43
 
#include "drizzled/visibility.h"
44
 
 
45
43
namespace drizzled
46
44
{
47
45
namespace internal
70
68
  MY_GCVT_ARG_DOUBLE
71
69
} my_gcvt_arg_type;
72
70
 
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);
 
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);
78
76
 
79
77
#define NOT_FIXED_DEC (uint8_t)31
80
78
 
108
106
 
109
107
extern char *int2str(int32_t val, char *dst, int radix, int upcase);
110
108
extern char *int10_to_str(int32_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);
 
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);
114
112
 
115
113
 
116
114
/**