~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mystrings/int2str.cc

  • Committer: Monty Taylor
  • Date: 2009-04-14 19:16:51 UTC
  • mto: (997.2.5 mordred)
  • mto: This revision was merged to the branch mainline in revision 994.
  • Revision ID: mordred@inaugust.com-20090414191651-ltbww6hpqks8k7qk
Clarified instructions in README.

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
   along with this program; if not, write to the Free Software
14
14
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */
15
15
 
16
 
#include "config.h"
17
 
#include "drizzled/internal/m_string.h"
18
 
 
19
 
namespace drizzled
20
 
{
21
 
namespace internal
22
 
{
 
16
#include "m_string.h"
 
17
 
 
18
/*
 
19
  _dig_vec arrays are public because they are used in several outer places.
 
20
*/
 
21
char _dig_vec_upper[] =
 
22
  "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";
 
23
char _dig_vec_lower[] =
 
24
  "0123456789abcdefghijklmnopqrstuvwxyz";
 
25
 
23
26
 
24
27
/*
25
28
  Converts integer to its string representation in decimal notation.
71
74
  while ((*dst++ = *p++) != 0) ;
72
75
  return dst-1;
73
76
}
74
 
 
75
 
} /* namespace internal */
76
 
} /* namespace drizzled */