Fix warnings about <::

This commit is contained in:
Jason Paryani
2013-09-19 22:00:33 -07:00
parent a737103905
commit 83b07d3da8

View File

@@ -33,7 +33,7 @@ cdef extern from "kj/common.h" namespace " ::kj":
T& operator[](size_t index) T& operator[](size_t index)
# Cython can't handle ArrayPtr[word] as a function argument # Cython can't handle ArrayPtr[word] as a function argument
cdef cppclass WordArrayPtr "::kj::ArrayPtr<::capnp::word>": cdef cppclass WordArrayPtr " ::kj::ArrayPtr< ::capnp::word>":
WordArrayPtr() WordArrayPtr()
WordArrayPtr(word *, size_t size) WordArrayPtr(word *, size_t size)
size_t size() size_t size()
@@ -45,7 +45,7 @@ cdef extern from "kj/array.h" namespace " ::kj":
size_t size() size_t size()
# Cython can't handle Array[word] as a function argument # Cython can't handle Array[word] as a function argument
cdef cppclass WordArray "::kj::Array<::capnp::word>": cdef cppclass WordArray " ::kj::Array< ::capnp::word>":
word* begin() word* begin()
size_t size() size_t size()