Allow creation of ListSchema from other Schemas

This commit is contained in:
Jason Paryani
2014-11-19 02:19:21 -08:00
parent 0f0ced971d
commit 4fb74372f2
3 changed files with 37 additions and 0 deletions

View File

@@ -217,6 +217,11 @@ cdef extern from "capnp/schema.h" namespace " ::capnp":
cdef cppclass ListSchema:
SchemaType getElementType()
ListSchema listSchemaOfStruct" ::capnp::ListSchema::of"(StructSchema)
ListSchema listSchemaOfEnum" ::capnp::ListSchema::of"(EnumSchema)
ListSchema listSchemaOfInterface" ::capnp::ListSchema::of"(InterfaceSchema)
ListSchema listSchemaOfList" ::capnp::ListSchema::of"(ListSchema)
cdef cppclass ConstSchema:
pass