Merge branch 'master' of https://github.com/amluto/capnpc-python-cpp into develop

Conflicts:
	capnp/capnp.pyx
	capnp/capnp_cpp.pxd
This commit is contained in:
Jason Paryani
2013-08-28 16:09:33 -07:00
2 changed files with 47 additions and 9 deletions

View File

@@ -33,21 +33,16 @@ cdef extern from "capnp/schema.h" namespace " ::capnp":
Schema getDependency(uint64_t id) except +
#InterfaceSchema asInterface() const;
cdef cppclass MemberForward" ::capnp::StructSchema::Field":
pass
cdef cppclass StructSchema(Schema):
cppclass FieldList:
uint size()
MemberForward operator[](uint index)
cppclass Field:
StructNode.Member.Reader getProto()
StructSchema getContainingStruct()
uint getIndex()
FieldList getFields()
Node.Reader getProto()
cppclass FieldList:
uint size()
Field operator[](uint index)
FieldList getFields()
Field getFieldByName(char * name)
@@ -106,6 +101,7 @@ cdef extern from "capnp/dynamic.h" namespace " ::capnp":
Maybe[StructSchema.Field] which()
void adopt(char *, DynamicOrphan)
DynamicOrphan disown(char *)
DynamicStruct.Reader asReader()
cdef extern from "fixMaybe.h":
StructSchema.Field fixMaybe(Maybe[StructSchema.Field]) except+