Commit 56a00a7d authored by Guillaume Seguin's avatar Guillaume Seguin

Use libc.string imports instead of custom declarations

parent 9b5229a4
......@@ -15,10 +15,7 @@
from libc.stdlib cimport malloc, free
from libc.stdint cimport uint32_t
cdef extern from "string.h":
char *strncpy(char *dest, char *src, size_t n)
size_t strlen(const char *s)
from libc.string cimport strlen, strncpy
cdef char* copy_string(object value):
cdef char* orig = value
......
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