~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mystrings/m_string.h

  • Committer: Stewart Smith
  • Date: 2009-03-18 00:29:24 UTC
  • mto: (942.1.10 mordred)
  • mto: This revision was merged to the branch mainline in revision 945.
  • Revision ID: stewart@flamingspork.com-20090318002924-gixoh4t5mhbw8qyz
make set_if_bigger typesafe for C and C++. Fix up everywhere.

Show diffs side-by-side

added added

removed removed

Lines of Context:
100
100
size_t my_gcvt(double x, my_gcvt_arg_type type, int width, char *to,
101
101
               bool *error);
102
102
 
103
 
#define NOT_FIXED_DEC 31
 
103
#define NOT_FIXED_DEC (uint8_t)31
104
104
 
105
105
/*
106
106
  The longest string my_fcvt can return is 311 + "precision" bytes.