~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mystrings/decimal.h

Merged in changes from Andrey.

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
int decimal2double(decimal_t *from, double *to);
40
40
int double2decimal(double from, decimal_t *to);
41
41
int decimal_actual_fraction(decimal_t *from);
42
 
int decimal2bin(decimal_t *from, uchar *to, int precision, int scale);
43
 
int bin2decimal(const uchar *from, decimal_t *to, int precision, int scale);
 
42
int decimal2bin(decimal_t *from, unsigned char *to, int precision, int scale);
 
43
int bin2decimal(const unsigned char *from, decimal_t *to, int precision, int scale);
44
44
 
45
45
int decimal_size(int precision, int scale);
46
46
int decimal_bin_size(int precision, int scale);