Commit 29672075 authored by Andrew Udvare's avatar Andrew Udvare Committed by Nikias Bassen

Add URL for credit

parent f3857e20
......@@ -2,6 +2,7 @@ cimport cpython
cimport libc.stdlib
from libc.stdint cimport *
# https://groups.google.com/forum/#!topic/cython-users/xoKNFTRagvk
cdef _from_string_and_size(char *s, size_t length):
if PY_MAJOR_VERSION < 3 or s == NULL:
return s[:length]
......
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