summaryrefslogtreecommitdiff
path: root/docs/examples/tutorial/external/keyword_args_call.pyx
blob: 3a6b85c8b726b4df753f6bbe43c30210cce0784b (plain)
1
2
3
4
5
6
7
8
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)