capnp-ocaml
capnp-ocaml copied to clipboard
Lists of capabilities not implemented yet
If you define a schema with List(Interface)
then:
- The types are wrong: it gives e.g.
val a_get_list : t -> [`Interface_xxx] list
instead ofval a_get_list : t -> [`Interface_xxx] Capability.t list
- The implementation generated is
failwith "not implemented (type iface)"
.
As a workaround, you can use a list of structs containing interfaces instead.