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