make Allocator public

This commit is contained in:
David Renshaw 2019-05-20 18:12:19 -04:00
parent 1d51317074
commit 09eec64941

View file

@ -3,7 +3,7 @@ package org.capnproto;
/**
* An object that allocates memory for a Cap'n Proto message as it is being built.
*/
interface Allocator {
public interface Allocator {
/**
* Allocates a ByteBuffer to be used as a segment in a message. The returned
* buffer must contain at least `minimumSize` bytes, all of which MUST be