summaryrefslogtreecommitdiff
path: root/docs/examples/tutorial/external/keyword_args_call.pyx
blob: de2b6f2b25f1e69906e811c22e385fce588da152 (plain)
1
2
3
4
5
6
7
cdef extern from "string.h":
    char* strstr(const char *haystack, const char *needle)

cdef char* data = "hfvcakdfagbcffvschvxcdfgccbcfhvgcsnfxjh"

cdef char* pos = strstr(needle='akd', haystack=data)
print(pos is not NULL)