~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to strings/longlong2str_asm.c

MergeĀ fromĀ trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */
15
15
 
16
16
/*
17
 
  Wrapper for longlong2str.s
 
17
  Wrapper for int64_t2str.s
18
18
 
19
19
  We need this because the assembler code can't access the local variable
20
20
  _dig_vector in a portable manner.
23
23
#include <my_global.h>
24
24
#include "m_string.h"
25
25
 
26
 
extern char *longlong2str_with_dig_vector(longlong val,char *dst,int radix,
 
26
extern char *int64_t2str_with_dig_vector(int64_t val,char *dst,int radix,
27
27
                                          const char *dig_vector);
28
28
 
29
 
char *longlong2str(longlong val,char *dst,int radix)
 
29
char *int64_t2str(int64_t val,char *dst,int radix)
30
30
{
31
 
  return longlong2str_with_dig_vector(val, dst, radix, _dig_vec_upper);
 
31
  return int64_t2str_with_dig_vector(val, dst, radix, _dig_vec_upper);
32
32
}