lucy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nwelln...@apache.org
Subject git commit: Define some short names locally
Date Wed, 09 Jul 2014 18:25:05 GMT
Repository: lucy-clownfish
Updated Branches:
  refs/heads/master f4e7f6c09 -> ee29c9ada


Define some short names locally

The ClassSpec and MethSpec structs are an implementation detail.


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

Branch: refs/heads/master
Commit: ee29c9adaf852b7de3457794c90a207eee7bdcca
Parents: f4e7f6c
Author: Nick Wellnhofer <wellnhofer@aevum.de>
Authored: Wed Jul 9 20:06:21 2014 +0200
Committer: Nick Wellnhofer <wellnhofer@aevum.de>
Committed: Wed Jul 9 20:06:21 2014 +0200

----------------------------------------------------------------------
 compiler/src/CFCBindCore.c     | 4 ----
 runtime/core/Clownfish/Class.c | 5 +++++
 2 files changed, 5 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/ee29c9ad/compiler/src/CFCBindCore.c
----------------------------------------------------------------------
diff --git a/compiler/src/CFCBindCore.c b/compiler/src/CFCBindCore.c
index 390682a..58493d0 100644
--- a/compiler/src/CFCBindCore.c
+++ b/compiler/src/CFCBindCore.c
@@ -266,10 +266,6 @@ S_write_parcel_h(CFCBindCore *self, CFCParcel *parcel) {
         "#ifdef CFISH_USE_SHORT_NAMES\n"
         "  #define METHOD_PTR               CFISH_METHOD_PTR\n"
         "  #define SUPER_METHOD_PTR         CFISH_SUPER_METHOD_PTR\n"
-        "  #define NovelMethSpec            cfish_NovelMethSpec\n"
-        "  #define OverriddenMethSpec       cfish_OverriddenMethSpec\n"
-        "  #define InheritedMethSpec        cfish_InheritedMethSpec\n"
-        "  #define ClassSpec                cfish_ClassSpec\n"
         "#endif\n"
         "\n";
 

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/ee29c9ad/runtime/core/Clownfish/Class.c
----------------------------------------------------------------------
diff --git a/runtime/core/Clownfish/Class.c b/runtime/core/Clownfish/Class.c
index 4bfaad9..64735cd 100644
--- a/runtime/core/Clownfish/Class.c
+++ b/runtime/core/Clownfish/Class.c
@@ -40,6 +40,11 @@
 #include "Clownfish/Util/Atomic.h"
 #include "Clownfish/Util/Memory.h"
 
+#define NovelMethSpec            cfish_NovelMethSpec
+#define OverriddenMethSpec       cfish_OverriddenMethSpec
+#define InheritedMethSpec        cfish_InheritedMethSpec
+#define ClassSpec                cfish_ClassSpec
+
 size_t Class_offset_of_parent = offsetof(Class, parent);
 
 // Remove spaces and underscores, convert to lower case.


Mime
View raw message