Refactor capnp.pyx to be in lib subdirectory

This commit is contained in:
Jason Paryani
2013-12-08 17:43:08 -08:00
parent 086994f9da
commit 1e87bed8c7
10 changed files with 14 additions and 19 deletions

View File

@@ -5,6 +5,7 @@
from libc.stdint cimport *
from capnp_cpp cimport DynamicOrphan
from .capnp.helpers.non_circular cimport reraise_kj_exception
ctypedef unsigned int uint
ctypedef uint8_t byte
ctypedef uint8_t UInt8
@@ -718,9 +719,6 @@ cdef extern from "kj/array.h" namespace " ::kj":
word* begin()
size_t size()
cdef extern from "helpers/capabilityHelper.h":
void reraise_kj_exception()
cdef extern from "kj/array.h" namespace " ::kj":
cdef cppclass InputStream:
void read(void* buffer, size_t bytes) except +reraise_kj_exception