Make ByteBuf and its methods public

Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/8c4b2905
Tree: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/tree/8c4b2905
Diff: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/diff/8c4b2905

Branch: refs/heads/master
Commit: 8c4b2905a269c1a2dc7a781c6eb61d0fe4d35680
Parents: c8c942d
Author: Nick Wellnhofer <wellnho...@aevum.de>
Authored: Wed Dec 9 14:31:56 2015 +0100
Committer: Nick Wellnhofer <wellnho...@aevum.de>
Committed: Wed Dec 9 14:31:56 2015 +0100

----------------------------------------------------------------------
 runtime/core/Clownfish/ByteBuf.cfh | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/8c4b2905/runtime/core/Clownfish/ByteBuf.cfh
----------------------------------------------------------------------
diff --git a/runtime/core/Clownfish/ByteBuf.cfh 
b/runtime/core/Clownfish/ByteBuf.cfh
index 8cf5e49..217d075 100644
--- a/runtime/core/Clownfish/ByteBuf.cfh
+++ b/runtime/core/Clownfish/ByteBuf.cfh
@@ -20,7 +20,7 @@ parcel Clownfish;
  * Growable buffer holding arbitrary bytes.
  */
 
-final class Clownfish::ByteBuf nickname BB inherits Clownfish::Obj {
+public final class Clownfish::ByteBuf nickname BB inherits Clownfish::Obj {
 
     char    *buf;
     size_t   size;  /* number of valid bytes */
@@ -62,34 +62,34 @@ final class Clownfish::ByteBuf nickname BB inherits 
Clownfish::Obj {
     /** Set the object's size member.  If greater than the object's capacity,
      * throws an error.
      */
-    void
+    public void
     Set_Size(ByteBuf *self, size_t size);
 
     /** Accessor for "size" member.
      */
-    size_t
+    public size_t
     Get_Size(ByteBuf *self);
 
     /** Accessor for raw internal buffer.
      */
-    nullable char*
+    public nullable char*
     Get_Buf(ByteBuf *self);
 
     /** Return the number of bytes in the Object's allocation.
      */
-    size_t
+    public size_t
     Get_Capacity(ByteBuf *self);
 
     /** Concatenate the passed-in bytes onto the end of the ByteBuf. Allocate
      * more memory as needed.
      */
-    void
+    public void
     Cat_Bytes(ByteBuf *self, const void *bytes, size_t size);
 
     /** Concatenate the contents of `other` onto the end of the
      * original ByteBuf. Allocate more memory as needed.
      */
-    void
+    public void
     Cat(ByteBuf *self, Blob *blob);
 
     /** Assign more memory to the ByteBuf, if it doesn't already have enough
@@ -97,12 +97,12 @@ final class Clownfish::ByteBuf nickname BB inherits 
Clownfish::Obj {
      *
      * @return a pointer to the raw buffer.
      */
-    nullable char*
+    public nullable char*
     Grow(ByteBuf *self, size_t size);
 
     /** Return the content of the ByteBuf as Blob and clear the ByteBuf.
      */
-    incremented Blob*
+    public incremented Blob*
     Yield_Blob(ByteBuf *self);
 
     /** Return a String which holds a copy of the UTF-8 character data in
@@ -119,7 +119,7 @@ final class Clownfish::ByteBuf nickname BB inherits 
Clownfish::Obj {
 
     /** Test whether the ByteBuf matches the passed-in bytes.
      */
-    bool
+    public bool
     Equals_Bytes(ByteBuf *self, const void *bytes, size_t size);
 
     public int32_t

Reply via email to