Commit 5275b625 authored by Robert Bradshaw's avatar Robert Bradshaw

Typo fix.

parent dc04ede1
...@@ -165,7 +165,7 @@ We now need to declare the attributes for use on Cython:: ...@@ -165,7 +165,7 @@ We now need to declare the attributes for use on Cython::
Declare a var with the wrapped C++ class Declare a var with the wrapped C++ class
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Now, we use cdef to declare a var of the class with the know C++ ``new`` statement:: Now, we use cdef to declare a var of the class with the C++ ``new`` statement::
cdef Rectangle *rec = new Rectangle(1, 2, 3, 4) cdef Rectangle *rec = new Rectangle(1, 2, 3, 4)
cdef int recLength = rec.getLength() cdef int recLength = rec.getLength()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment