@@ -136,8 +136,7 @@ char_to_string(char* data) {
136
136
#include <errno.h>
137
137
#include <float.h>
138
138
139
- PANDAS_INLINE double
140
- xstrtod (const char * p , char * * q , char decimal , char sci , int skip_trailing );
139
+ double xstrtod (const char * p , char * * q , char decimal , char sci , int skip_trailing );
141
140
142
141
int to_double (char * item , double * p_value , char sci , char decimal )
143
142
{
@@ -153,7 +152,7 @@ int to_double(char *item, double *p_value, char sci, char decimal)
153
152
#define PyBytes_AS_STRING PyString_AS_STRING
154
153
#endif
155
154
156
- PANDAS_INLINE int floatify (PyObject * str , double * result ) {
155
+ int floatify (PyObject * str , double * result ) {
157
156
int status ;
158
157
char * data ;
159
158
PyObject * tmp = NULL ;
@@ -242,17 +241,11 @@ PANDAS_INLINE int floatify(PyObject* str, double *result) {
242
241
// * Commented out the other functions.
243
242
//
244
243
245
- PANDAS_INLINE void lowercase (char * p ) {
246
- for ( ; * p ; ++ p ) * p = tolower (* p );
247
- }
248
-
249
- PANDAS_INLINE void uppercase (char * p ) {
250
- for ( ; * p ; ++ p ) * p = toupper (* p );
251
- }
252
244
253
245
254
- PANDAS_INLINE double xstrtod (const char * str , char * * endptr , char decimal ,
255
- char sci , int skip_trailing )
246
+ double
247
+ xstrtod (const char * str , char * * endptr , char decimal ,
248
+ char sci , int skip_trailing )
256
249
{
257
250
double number ;
258
251
int exponent ;
@@ -401,4 +394,3 @@ void set_array_owndata(PyArrayObject *ao) {
401
394
// }
402
395
// return ap;
403
396
// }
404
-
0 commit comments