Commit 6327d1c9 authored by Stefan Behnel's avatar Stefan Behnel

fix illegal Python names in C lower cased declarations

parent acb22b17
...@@ -9,8 +9,8 @@ cdef extern from *: ...@@ -9,8 +9,8 @@ cdef extern from *:
cdef extern from "string.h" nogil: cdef extern from "string.h" nogil:
void *memcpy (void *to, const void *from, size_t size) void *memcpy (void *pto, const void *pfrom, size_t size)
void *memmove (void *to, const void *from, size_t size) void *memmove (void *pto, const void *pfrom, size_t size)
void *memset (void *block, int c, size_t size) void *memset (void *block, int c, size_t size)
int memcmp (const void *a1, const void *a2, size_t size) int memcmp (const void *a1, const void *a2, size_t size)
void *memchr (const void *block, int c, size_t size) void *memchr (const void *block, int c, size_t size)
...@@ -19,12 +19,12 @@ cdef extern from "string.h" nogil: ...@@ -19,12 +19,12 @@ cdef extern from "string.h" nogil:
void *memrchr (const void *block, int c, size_t size) void *memrchr (const void *block, int c, size_t size)
size_t strlen (const char *s) size_t strlen (const char *s)
char *strcpy (char *to, const char *from) char *strcpy (char *pto, const char *pfrom)
char *strncpy (char *to, const char *from, size_t size) char *strncpy (char *pto, const char *pfrom, size_t size)
char *strdup (const char *s) char *strdup (const char *s)
char *strndup (const char *s, size_t size) char *strndup (const char *s, size_t size)
char *strcat (char *to, const char *from) char *strcat (char *pto, const char *pfrom)
char *strncat (char *to, const char *from, size_t size) char *strncat (char *pto, const char *pfrom, size_t size)
int strcmp (const char *s1, const char *s2) int strcmp (const char *s1, const char *s2)
int strcasecmp (const char *s1, const char *s2) int strcasecmp (const char *s1, const char *s2)
...@@ -32,7 +32,7 @@ cdef extern from "string.h" nogil: ...@@ -32,7 +32,7 @@ cdef extern from "string.h" nogil:
int strncasecmp (const char *s1, const char *s2, size_t n) int strncasecmp (const char *s1, const char *s2, size_t n)
int strcoll (const char *s1, const char *s2) int strcoll (const char *s1, const char *s2)
size_t strxfrm (char *to, const char *from, size_t size) size_t strxfrm (char *pto, const char *pfrom, size_t size)
char *strerror (int errnum) char *strerror (int errnum)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment