lucy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nwelln...@apache.org
Subject [2/7] lucy-clownfish git commit: Make CharBuf API public
Date Sun, 15 Nov 2015 11:45:21 GMT
Make CharBuf API 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/a8612354
Tree: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/tree/a8612354
Diff: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/diff/a8612354

Branch: refs/heads/master
Commit: a86123544460abf33637d3ed308995ef1c76b8bf
Parents: ad19eb8
Author: Nick Wellnhofer <wellnhofer@aevum.de>
Authored: Thu Nov 12 14:51:30 2015 +0100
Committer: Nick Wellnhofer <wellnhofer@aevum.de>
Committed: Thu Nov 12 14:51:30 2015 +0100

----------------------------------------------------------------------
 runtime/core/Clownfish/CharBuf.cfh | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/a8612354/runtime/core/Clownfish/CharBuf.cfh
----------------------------------------------------------------------
diff --git a/runtime/core/Clownfish/CharBuf.cfh b/runtime/core/Clownfish/CharBuf.cfh
index 7714443..c007cff 100644
--- a/runtime/core/Clownfish/CharBuf.cfh
+++ b/runtime/core/Clownfish/CharBuf.cfh
@@ -20,34 +20,34 @@ parcel Clownfish;
  * Growable buffer holding Unicode characters.
  */
 
-final class Clownfish::CharBuf nickname CB
+public final class Clownfish::CharBuf nickname CB
     inherits Clownfish::Obj {
 
     char    *ptr;
     size_t   size;
     size_t   cap;  /* allocated bytes, including terminating null */
 
-    inert incremented CharBuf*
+    public inert incremented CharBuf*
     new(size_t size);
 
-    inert CharBuf*
+    public inert CharBuf*
     init(CharBuf *self, size_t size);
 
     /** Concatenate the passed-in string onto the end of the CharBuf.
      */
-    void
+    public void
     Cat_Utf8(CharBuf *self, const char *ptr, size_t size);
 
     /** Concatenate the supplied text onto the end of the CharBuf.  Don't
      * check for UTF-8 validity.
      */
-    void
+    public void
     Cat_Trusted_Utf8(CharBuf *self, const char *ptr, size_t size);
 
     /** Concatenate the contents of `string` onto the end of the
      * caller.
      */
-    void
+    public void
     Cat(CharBuf *self, String *string);
 
     /** Concatenate formatted arguments.  Similar to the printf family, but
@@ -62,35 +62,35 @@ final class Clownfish::CharBuf nickname CB
      * Note that all Clownfish Objects, including CharBufs, are printed via
      * %o (which invokes [](Obj.To_String)).
      */
-    void
+    public void
     VCatF(CharBuf *self, const char *pattern, va_list args);
 
     /** Invokes CB_VCatF to concatenate formatted arguments.  Note that this
      * is only a function and not a method.
      */
-    inert void
+    public inert void
     catf(CharBuf *self, const char *pattern, ...);
 
     /** Concatenate one Unicode character onto the end of the CharBuf.
      */
-    void
+    public void
     Cat_Char(CharBuf *self, int32_t code_point);
 
     /** Assign more memory to the CharBuf, if it doesn't already have enough
      * room to hold a string of `size` bytes.  Cannot shrink the
      * allocation.
      */
-    void
+    public void
     Grow(CharBuf *self, size_t size);
 
     /** Clear the CharBuf.
      */
-    void
+    public void
     Clear(CharBuf *self);
 
     /** Get the CharBuf's `size` attribute.
      */
-    size_t
+    public size_t
     Get_Size(CharBuf *self);
 
     public incremented CharBuf*


Mime
View raw message