blob: 4a7782735e25df16c388201beb9e3a52f1636795 (
plain)
1
2
3
4
5
6
7
8
9
10
|
from my_module cimport Shrubbery
cdef Shrubbery another_shrubbery(Shrubbery sh1):
cdef Shrubbery sh2
sh2 = Shrubbery()
sh2.width = sh1.width
sh2.height = sh1.height
return sh2
|