You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by nw...@apache.org on 2016/02/11 13:08:02 UTC

[5/7] lucy git commit: Make some ctors non-public

Make some ctors non-public

Remove the C API documentation for some ctors to match the Perl API.


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

Branch: refs/heads/master
Commit: f8debe51d20aaa1b2dd1a3deb6c2389b73da3386
Parents: 61d8911
Author: Nick Wellnhofer <we...@aevum.de>
Authored: Tue Feb 9 16:37:55 2016 +0100
Committer: Nick Wellnhofer <we...@aevum.de>
Committed: Tue Feb 9 16:43:33 2016 +0100

----------------------------------------------------------------------
 core/Lucy/Index/IndexReader.cfh | 2 +-
 core/Lucy/Index/Lexicon.cfh     | 2 +-
 core/Lucy/Index/PolyReader.cfh  | 4 ++--
 core/Lucy/Index/PostingList.cfh | 2 +-
 core/Lucy/Index/Segment.cfh     | 4 ++--
 core/Lucy/Search/PolyQuery.cfh  | 2 +-
 core/Lucy/Store/Folder.cfh      | 2 +-
 core/Lucy/Store/Lock.cfh        | 4 ++--
 8 files changed, 11 insertions(+), 11 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy/blob/f8debe51/core/Lucy/Index/IndexReader.cfh
----------------------------------------------------------------------
diff --git a/core/Lucy/Index/IndexReader.cfh b/core/Lucy/Index/IndexReader.cfh
index 442b576..96be62a 100644
--- a/core/Lucy/Index/IndexReader.cfh
+++ b/core/Lucy/Index/IndexReader.cfh
@@ -44,7 +44,7 @@ public class Lucy::Index::IndexReader nickname IxReader
 
     /** Abstract initializer.
      */
-    public inert nullable IndexReader*
+    inert nullable IndexReader*
     init(IndexReader *self, Schema *schema = NULL, Folder *folder,
          Snapshot *snapshot = NULL, Vector *segments = NULL,
          int32_t seg_tick = -1, IndexManager *manager = NULL);

http://git-wip-us.apache.org/repos/asf/lucy/blob/f8debe51/core/Lucy/Index/Lexicon.cfh
----------------------------------------------------------------------
diff --git a/core/Lucy/Index/Lexicon.cfh b/core/Lucy/Index/Lexicon.cfh
index 301a0e6..f643250 100644
--- a/core/Lucy/Index/Lexicon.cfh
+++ b/core/Lucy/Index/Lexicon.cfh
@@ -37,7 +37,7 @@ public class Lucy::Index::Lexicon nickname Lex inherits Clownfish::Obj {
 
     /** Abstract initializer.
      */
-    public inert Lexicon*
+    inert Lexicon*
     init(Lexicon *self, String *field);
 
     public void

http://git-wip-us.apache.org/repos/asf/lucy/blob/f8debe51/core/Lucy/Index/PolyReader.cfh
----------------------------------------------------------------------
diff --git a/core/Lucy/Index/PolyReader.cfh b/core/Lucy/Index/PolyReader.cfh
index 6d362f8..4dd617b 100644
--- a/core/Lucy/Index/PolyReader.cfh
+++ b/core/Lucy/Index/PolyReader.cfh
@@ -58,13 +58,13 @@ public class Lucy::Index::PolyReader inherits Lucy::Index::IndexReader {
 
     /** Create a new PolyReader.
      */
-    public inert incremented PolyReader*
+    inert incremented PolyReader*
     new(Schema *schema = NULL, Folder *folder, Snapshot *snapshot = NULL,
         IndexManager *manager = NULL, Vector *sub_readers = NULL);
 
     /** Initialize a PolyReader.
      */
-    public inert PolyReader*
+    inert PolyReader*
     init(PolyReader *self, Schema *schema = NULL, Folder *folder,
          Snapshot *snapshot = NULL, IndexManager *manager = NULL,
          Vector *sub_readers = NULL);

http://git-wip-us.apache.org/repos/asf/lucy/blob/f8debe51/core/Lucy/Index/PostingList.cfh
----------------------------------------------------------------------
diff --git a/core/Lucy/Index/PostingList.cfh b/core/Lucy/Index/PostingList.cfh
index fde9a7b..3429c97 100644
--- a/core/Lucy/Index/PostingList.cfh
+++ b/core/Lucy/Index/PostingList.cfh
@@ -29,7 +29,7 @@ public class Lucy::Index::PostingList nickname PList
 
     /** Abstract initializer.
      */
-    public inert PostingList*
+    inert PostingList*
     init(PostingList *self);
 
     /** Return the iterator's current Posting.  Should not be called before

http://git-wip-us.apache.org/repos/asf/lucy/blob/f8debe51/core/Lucy/Index/Segment.cfh
----------------------------------------------------------------------
diff --git a/core/Lucy/Index/Segment.cfh b/core/Lucy/Index/Segment.cfh
index 7780438..2187485 100644
--- a/core/Lucy/Index/Segment.cfh
+++ b/core/Lucy/Index/Segment.cfh
@@ -42,12 +42,12 @@ public class Lucy::Index::Segment nickname Seg inherits Clownfish::Obj {
 
     /** Create a new Segment.
      */
-    public inert incremented Segment*
+    inert incremented Segment*
     new(int64_t number);
 
     /** Initialize a segment.
      */
-    public inert Segment*
+    inert Segment*
     init(Segment *self, int64_t number);
 
     /** Return a segment name with a base-36-encoded segment number.

http://git-wip-us.apache.org/repos/asf/lucy/blob/f8debe51/core/Lucy/Search/PolyQuery.cfh
----------------------------------------------------------------------
diff --git a/core/Lucy/Search/PolyQuery.cfh b/core/Lucy/Search/PolyQuery.cfh
index b3c07d5..69d0262 100644
--- a/core/Lucy/Search/PolyQuery.cfh
+++ b/core/Lucy/Search/PolyQuery.cfh
@@ -34,7 +34,7 @@ public abstract class Lucy::Search::PolyQuery inherits Lucy::Search::Query {
      *
      * @param children An array of child Queries.
      */
-    public inert PolyQuery*
+    inert PolyQuery*
     init(PolyQuery *self, Vector *children = NULL);
 
     /** Add a child Query node.

http://git-wip-us.apache.org/repos/asf/lucy/blob/f8debe51/core/Lucy/Store/Folder.cfh
----------------------------------------------------------------------
diff --git a/core/Lucy/Store/Folder.cfh b/core/Lucy/Store/Folder.cfh
index f28306c..4dc7ad5 100644
--- a/core/Lucy/Store/Folder.cfh
+++ b/core/Lucy/Store/Folder.cfh
@@ -33,7 +33,7 @@ public abstract class Lucy::Store::Folder inherits Clownfish::Obj {
 
     /** Abstract initializer.
      */
-    public inert nullable Folder*
+    inert nullable Folder*
     init(Folder *self, String *path);
 
     public void

http://git-wip-us.apache.org/repos/asf/lucy/blob/f8debe51/core/Lucy/Store/Lock.cfh
----------------------------------------------------------------------
diff --git a/core/Lucy/Store/Lock.cfh b/core/Lucy/Store/Lock.cfh
index d801a0c..111a045 100644
--- a/core/Lucy/Store/Lock.cfh
+++ b/core/Lucy/Store/Lock.cfh
@@ -164,10 +164,10 @@ class Lucy::Store::LockFileLock nickname LFLock
  */
 public class Lucy::Store::LockErr inherits Clownfish::Err {
 
-    public inert incremented LockErr*
+    inert incremented LockErr*
     new(String *message);
 
-    public inert LockErr*
+    inert LockErr*
     init(LockErr *self, String *message);
 }