Commit 93ed6796 authored by Robert Bradshaw's avatar Robert Bradshaw

remove double const

parent db5b10dc
...@@ -21,7 +21,7 @@ cdef string {{cname}}(object o) except *: ...@@ -21,7 +21,7 @@ cdef string {{cname}}(object o) except *:
#cimport cython #cimport cython
#from libcpp.string cimport string #from libcpp.string cimport string
cdef extern from *: cdef extern from *:
cdef cppclass string "const std::string": cdef cppclass string "std::string":
char* data() char* data()
size_t size() size_t size()
cdef object __Pyx_PyObject_FromStringAndSize(char*, size_t) cdef object __Pyx_PyObject_FromStringAndSize(char*, size_t)
......
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