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 2016/02/06 15:17:39 UTC

[06/14] lucy-clownfish git commit: Make Class_Get_Obj_Alloc_Size public

Make Class_Get_Obj_Alloc_Size public


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

Branch: refs/heads/master
Commit: b8c722be6df11b896765a3d6dff74e7b53ab3d7c
Parents: dd89ccf
Author: Nick Wellnhofer <we...@aevum.de>
Authored: Mon Jan 11 18:03:30 2016 +0100
Committer: Nick Wellnhofer <we...@aevum.de>
Committed: Wed Feb 3 15:35:36 2016 +0100

----------------------------------------------------------------------
 runtime/core/Clownfish/Class.cfh   | 2 +-
 runtime/go/clownfish/class_test.go | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/b8c722be/runtime/core/Clownfish/Class.cfh
----------------------------------------------------------------------
diff --git a/runtime/core/Clownfish/Class.cfh b/runtime/core/Clownfish/Class.cfh
index 3c5b37b..7b43e1b 100644
--- a/runtime/core/Clownfish/Class.cfh
+++ b/runtime/core/Clownfish/Class.cfh
@@ -124,7 +124,7 @@ public final class Clownfish::Class inherits Clownfish::Obj {
     public nullable Class*
     Get_Parent(Class *self);
 
-    uint32_t
+    public uint32_t
     Get_Obj_Alloc_Size(Class *self);
 
     /** Return novel methods of the class.

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/b8c722be/runtime/go/clownfish/class_test.go
----------------------------------------------------------------------
diff --git a/runtime/go/clownfish/class_test.go b/runtime/go/clownfish/class_test.go
index 1099452..ebd3a68 100644
--- a/runtime/go/clownfish/class_test.go
+++ b/runtime/go/clownfish/class_test.go
@@ -37,7 +37,7 @@ func TestClassGetParent(t *testing.T) {
 func TestClassGetObjAllocSize(t *testing.T) {
 	intClass := FetchClass("Clownfish::Integer")
 	classClass := FetchClass("Clownfish::Class")
-	if intClass.getObjAllocSize() >= classClass.getObjAllocSize() {
+	if intClass.GetObjAllocSize() >= classClass.GetObjAllocSize() {
 		t.Error("Unexpected result for getObjAllocSize")
 	}
 }