pytangle.pyx 194 B

123456789101112
  1. # cdef extern from "tangle.h":
  2. # cdef void count_to(int i)
  3. cdef extern from "tangle.h":
  4. void count_to(int i)
  5. def say_hi():
  6. return count_to(5)
  7. def count(i):
  8. return count_to(i)