Commits

Armin Rigo committed 8fdba9d

The "Signed *" declaration is not in sync with rdtoa.py

  • Participants
  • Parent commits 838ae93

Comments (0)

Files changed (2)

rpython/translator/c/src/dtoa.c

 
 static char *
 __Py_dg_dtoa(double dd, int mode, int ndigits,
-            Signed *decpt, Signed *sign, char **rve)
+             int *decpt, int *sign, char **rve)
 {
     /*  Arguments ndigits, decpt, sign are similar to those
         of ecvt and fcvt; trailing zeros are suppressed from
 }
 
 char * _PyPy_dg_dtoa(double dd, int mode, int ndigits,
-                   Signed *decpt, Signed *sign, char **rve)
+                     int *decpt, int *sign, char **rve)
 {
     char* result;
     _PyPy_SET_53BIT_PRECISION_HEADER;

rpython/translator/c/src/dtoa.h

 
 double _PyPy_dg_strtod(const char *str, char **ptr);
 char * _PyPy_dg_dtoa(double d, int mode, int ndigits,
-		     Signed *decpt, Signed *sign, char **rve);
+		     int *decpt, int *sign, char **rve);
 void _PyPy_dg_freedtoa(char *s);