blob: 2ed8239457dfdd51c73621db19d1e2cc8de2658a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
# embedded.pyx
# The following two lines are for test purposes only, please ignore them.
# distutils: sources = embedded_main.c
# tag: py3only
# tag: no-cpp
TEXT_TO_SAY = 'Hello from Python!'
cdef public int say_hello_from_python() except -1:
print(TEXT_TO_SAY)
return 0
|