chore: move __c_cpp/* to __ffi
This commit is contained in:
5
__ffi/c_export/call_in_python.py
Normal file
5
__ffi/c_export/call_in_python.py
Normal file
@@ -0,0 +1,5 @@
|
||||
import ctypes
|
||||
|
||||
stringtools = ctypes.CDLL("target/debug/libstringtools.dylib")
|
||||
print(stringtools.count_substrings(b"banana", b"na"))
|
||||
|
||||
Reference in New Issue
Block a user