Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 5561b34f6b
Fetching contributors…

Cannot retrieve contributors at this time

10 lines (8 sloc) 0.285 kb
cimport c_rectangle
from c_rectangle cimport Rectangle as CRectangle
cdef class Rectangle:
cdef c_rectangle.Rectangle *thisptr # hold a C++ instance which we're wrapping
cpdef getLength(self)
cpdef getHeight(self)
cpdef getArea(self)
cpdef move(self, dx, dy)
Jump to Line
Something went wrong with that request. Please try again.