lucy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nwelln...@apache.org
Subject [lucy-commits] [1/5] git commit: refs/heads/master - Only create man pages for public classes
Date Sat, 11 May 2013 15:22:11 GMT
Updated Branches:
  refs/heads/master 1152f4e8d -> bec79027e


Only create man pages for public classes


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

Branch: refs/heads/master
Commit: 67e38d27366efc4be31d4e16f3a4570f75c4600a
Parents: cbddfc1
Author: Nick Wellnhofer <wellnhofer@aevum.de>
Authored: Sat May 11 12:13:10 2013 +0200
Committer: Nick Wellnhofer <wellnhofer@aevum.de>
Committed: Sat May 11 16:34:56 2013 +0200

----------------------------------------------------------------------
 clownfish/compiler/src/CFCCClass.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy/blob/67e38d27/clownfish/compiler/src/CFCCClass.c
----------------------------------------------------------------------
diff --git a/clownfish/compiler/src/CFCCClass.c b/clownfish/compiler/src/CFCCClass.c
index da882ab..8081f8c 100644
--- a/clownfish/compiler/src/CFCCClass.c
+++ b/clownfish/compiler/src/CFCCClass.c
@@ -23,6 +23,7 @@
 #include "CFCFunction.h"
 #include "CFCMethod.h"
 #include "CFCParamList.h"
+#include "CFCSymbol.h"
 #include "CFCType.h"
 #include "CFCUtil.h"
 
@@ -75,6 +76,8 @@ CFCCClass_callback_decs(CFCClass *klass) {
 
 char*
 CFCCClass_create_man_page(CFCClass *klass) {
+    if (!CFCSymbol_public((CFCSymbol*)klass)) { return NULL; }
+
     const char *class_name = CFCClass_get_class_name(klass);
 
     // Create NAME.


Mime
View raw message