~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mystrings/decimal.h

  • Committer: Brian Aker
  • Date: 2008-11-04 15:39:09 UTC
  • mfrom: (575.1.2 devel)
  • Revision ID: brian@tangent.org-20081104153909-c72hn65udxs1ccal
Merge of Monty's work

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);