lucy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@apache.org
Subject [lucy-commits] [8/8] git commit: refs/heads/method-imp-names-wip3 - Remove compat hack for old-style method imp names.
Date Thu, 22 Aug 2013 01:33:41 GMT
Remove compat hack for old-style method imp names.


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

Branch: refs/heads/method-imp-names-wip3
Commit: 87e73ce63c7e869953a7b7a2ac5ec6e831e21ce8
Parents: 0d16933
Author: Marvin Humphrey <marvin@rectangular.com>
Authored: Wed Aug 21 18:11:14 2013 -0700
Committer: Marvin Humphrey <marvin@rectangular.com>
Committed: Wed Aug 21 18:29:43 2013 -0700

----------------------------------------------------------------------
 clownfish/compiler/src/CFCBindClass.c |  8 --------
 clownfish/compiler/src/CFCMethod.c    | 10 ----------
 clownfish/compiler/src/CFCMethod.h    |  6 ------
 3 files changed, 24 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy/blob/87e73ce6/clownfish/compiler/src/CFCBindClass.c
----------------------------------------------------------------------
diff --git a/clownfish/compiler/src/CFCBindClass.c b/clownfish/compiler/src/CFCBindClass.c
index 51f9162..2b0a53a 100644
--- a/clownfish/compiler/src/CFCBindClass.c
+++ b/clownfish/compiler/src/CFCBindClass.c
@@ -602,10 +602,6 @@ S_sub_declarations(CFCBindClass *self) {
             declarations = CFCUtil_cat(declarations, PREFIX, "VISIBLE ", NULL);
         }
         declarations = CFCUtil_cat(declarations, dec, "\n\n", NULL);
-        const char *func  = CFCMethod_imp_func(method);
-        const char *alias = CFCMethod_imp_func_alias(method);
-        declarations = CFCUtil_cat(declarations, "#define ", alias, " ", func,
-                                   "\n", NULL);
         FREEMEM(dec);
     }
     FREEMEM(fresh_methods);
@@ -687,10 +683,6 @@ S_short_names(CFCBindClass *self) {
             const char *full_imp   = CFCMethod_imp_func(meth);
             short_names = CFCUtil_cat(short_names, "  #define ", short_imp,
                                       " ", full_imp, "\n", NULL);
-            const char *short_alias = CFCMethod_short_imp_func_alias(meth);
-            const char *full_alias  = CFCMethod_imp_func_alias(meth);
-            short_names = CFCUtil_cat(short_names, "  #define ", short_alias,
-                                      " ", full_alias, "\n", NULL);
         }
         FREEMEM(fresh_methods);
 

http://git-wip-us.apache.org/repos/asf/lucy/blob/87e73ce6/clownfish/compiler/src/CFCMethod.c
----------------------------------------------------------------------
diff --git a/clownfish/compiler/src/CFCMethod.c b/clownfish/compiler/src/CFCMethod.c
index d647ea2..f5780e2 100644
--- a/clownfish/compiler/src/CFCMethod.c
+++ b/clownfish/compiler/src/CFCMethod.c
@@ -428,16 +428,6 @@ CFCMethod_get_param_list(CFCMethod *self) {
 }
 
 const char*
-CFCMethod_imp_func_alias(CFCMethod *self) {
-    return CFCFunction_full_func_sym((CFCFunction*)self);
-}
-
-const char*
-CFCMethod_short_imp_func_alias(CFCMethod *self) {
-    return CFCFunction_short_func_sym((CFCFunction*)self);
-}
-
-const char*
 CFCMethod_imp_func(CFCMethod *self) {
     return self->imp_func;
 }

http://git-wip-us.apache.org/repos/asf/lucy/blob/87e73ce6/clownfish/compiler/src/CFCMethod.h
----------------------------------------------------------------------
diff --git a/clownfish/compiler/src/CFCMethod.h b/clownfish/compiler/src/CFCMethod.h
index a6a23cc..0c96220 100644
--- a/clownfish/compiler/src/CFCMethod.h
+++ b/clownfish/compiler/src/CFCMethod.h
@@ -231,12 +231,6 @@ struct CFCParamList*
 CFCMethod_get_param_list(CFCMethod *self);
 
 const char*
-CFCMethod_imp_func_alias(CFCMethod *self);
-
-const char*
-CFCMethod_short_imp_func_alias(CFCMethod *self);
-
-const char*
 CFCMethod_imp_func(CFCMethod *self);
 
 const char*


Mime
View raw message