~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mystrings/int2str.cc

  • Committer: Brian Aker
  • Date: 2009-02-21 00:18:15 UTC
  • Revision ID: brian@tangent.org-20090221001815-x20e8h71e984lvs1
Completion (?) of uint conversion.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
 
12
12
   You should have received a copy of the GNU General Public License
13
13
   along with this program; if not, write to the Free Software
14
 
   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA */
15
 
 
16
 
#include "config.h"
17
 
#include "drizzled/internal/m_string.h"
18
 
 
19
 
namespace drizzled
20
 
{
21
 
namespace internal
22
 
{
 
14
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */
 
15
 
 
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 */