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 2013/06/15 23:42:30 UTC

[lucy-commits] [07/14] git commit: refs/heads/master - Add classes from included parcels to typemap

Add classes from included parcels to typemap

TODO: Skip classes from parcels the source parcels don't depend on.


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

Branch: refs/heads/master
Commit: 785e582e9929ef0e5b64f8d04db13e97a52fd90d
Parents: 1f57e4a
Author: Nick Wellnhofer <we...@aevum.de>
Authored: Thu Jun 6 22:06:00 2013 +0200
Committer: Nick Wellnhofer <we...@aevum.de>
Committed: Sat Jun 15 23:34:20 2013 +0200

----------------------------------------------------------------------
 clownfish/compiler/src/CFCPerlTypeMap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy/blob/785e582e/clownfish/compiler/src/CFCPerlTypeMap.c
----------------------------------------------------------------------
diff --git a/clownfish/compiler/src/CFCPerlTypeMap.c b/clownfish/compiler/src/CFCPerlTypeMap.c
index 08d12da..dbc87b6 100644
--- a/clownfish/compiler/src/CFCPerlTypeMap.c
+++ b/clownfish/compiler/src/CFCPerlTypeMap.c
@@ -268,7 +268,7 @@ CFCPerlTypeMap_write_xs_typemap(CFCHierarchy *hierarchy) {
     char *output = CFCUtil_strdup("");
     for (int i = 0; classes[i] != NULL; i++) {
         CFCClass *klass = classes[i];
-        if (CFCClass_included(klass)) { continue; }
+        // TODO: Skip classes from parcels the source parcels don't depend on.
 
         const char *full_struct_sym = CFCClass_full_struct_sym(klass);
         const char *vtable_var      = CFCClass_full_vtable_var(klass);