lucy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nwelln...@apache.org
Subject [lucy-commits] [1/3] git commit: refs/heads/master - Remove unneeded test for lucy_ref_t
Date Sat, 18 May 2013 11:08:45 GMT
Updated Branches:
  refs/heads/master 1703035a3 -> 637d4e633


Remove unneeded test for lucy_ref_t

Not neccessary after object head changes.


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

Branch: refs/heads/master
Commit: 89d2c8eb5ba3c0449e6e7b71df02f5e5ac932f1c
Parents: 1703035
Author: Nick Wellnhofer <wellnhofer@aevum.de>
Authored: Fri May 17 23:55:50 2013 +0200
Committer: Nick Wellnhofer <wellnhofer@aevum.de>
Committed: Sat May 18 13:02:12 2013 +0200

----------------------------------------------------------------------
 clownfish/compiler/src/CFCBindAliases.c |    1 -
 clownfish/compiler/src/CFCDumpable.c    |   12 ++++--------
 2 files changed, 4 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy/blob/89d2c8eb/clownfish/compiler/src/CFCBindAliases.c
----------------------------------------------------------------------
diff --git a/clownfish/compiler/src/CFCBindAliases.c b/clownfish/compiler/src/CFCBindAliases.c
index d7f3813..8464c95 100644
--- a/clownfish/compiler/src/CFCBindAliases.c
+++ b/clownfish/compiler/src/CFCBindAliases.c
@@ -24,7 +24,6 @@ struct alias {
 };
 
 struct alias aliases[] = {
-    {"cfish_ref_t", "lucy_ref_t"},
     {"cfish_method_t", "lucy_method_t"},
     {"cfish_method", "lucy_method"},
     {"cfish_super_method", "lucy_super_method"},

http://git-wip-us.apache.org/repos/asf/lucy/blob/89d2c8eb/clownfish/compiler/src/CFCDumpable.c
----------------------------------------------------------------------
diff --git a/clownfish/compiler/src/CFCDumpable.c b/clownfish/compiler/src/CFCDumpable.c
index 976e9d8..a8230cd 100644
--- a/clownfish/compiler/src/CFCDumpable.c
+++ b/clownfish/compiler/src/CFCDumpable.c
@@ -281,10 +281,8 @@ S_process_dump_member(CFCClass *klass, CFCVariable *member, char *buf,
     unsigned name_len = (unsigned)strlen(name);
     const char *specifier = CFCType_get_specifier(type);
 
-    // Skip the VTable and the refcount/host-object.
-    if (strcmp(specifier, "lucy_VTable") == 0
-        || strcmp(specifier, "lucy_ref_t") == 0
-       ) {
+    // Skip the VTable.
+    if (strcmp(specifier, "lucy_VTable") == 0) {
         return;
     }
 
@@ -344,10 +342,8 @@ S_process_load_member(CFCClass *klass, CFCVariable *member, char *buf,
     char extraction[200];
     const char *specifier = CFCType_get_specifier(type);
 
-    // Skip the VTable and the refcount/host-object.
-    if (strcmp(specifier, "lucy_VTable") == 0
-        || strcmp(specifier, "lucy_ref_t") == 0
-       ) {
+    // Skip the VTable.
+    if (strcmp(specifier, "lucy_VTable") == 0) {
         return;
     }
 


Mime
View raw message