Add capnp.pxd for public declarations of cython classes

This commit is contained in:
Jason Paryani
2013-12-08 17:52:17 -08:00
parent 1e87bed8c7
commit 9c7d84a82b
6 changed files with 40 additions and 53 deletions

View File

@@ -6,11 +6,7 @@ cdef extern from "../helpers/checkCompiler.h":
from schema_cpp cimport Node, Data, StructNode, EnumNode, InterfaceNode, MessageBuilder, MessageReader
from .capnp.helpers.non_circular cimport PythonInterfaceDynamicImpl, reraise_kj_exception
from cpython.ref cimport PyObject
from libc.stdint cimport *
ctypedef unsigned int uint
from libcpp cimport bool as cbool
from .capnp.includes.types cimport *
cdef extern from "kj/async.h" namespace " ::kj":
cdef cppclass Promise[T]: