Make some Class methods 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/0a3ee33b Tree: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/tree/0a3ee33b Diff: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/diff/0a3ee33b Branch: refs/heads/master Commit: 0a3ee33bd55cacfdb0753caa8a9630b1afd271e3 Parents: 4858724 Author: Nick Wellnhofer <[email protected]> Authored: Sat Sep 26 18:00:32 2015 +0200 Committer: Nick Wellnhofer <[email protected]> Committed: Sat Sep 26 18:00:32 2015 +0200 ---------------------------------------------------------------------- runtime/core/Clownfish/Class.cfh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/0a3ee33b/runtime/core/Clownfish/Class.cfh ---------------------------------------------------------------------- diff --git a/runtime/core/Clownfish/Class.cfh b/runtime/core/Clownfish/Class.cfh index f826598..90a4ce1 100644 --- a/runtime/core/Clownfish/Class.cfh +++ b/runtime/core/Clownfish/Class.cfh @@ -23,7 +23,7 @@ parcel Clownfish; * behavior of Classes.) */ -final class Clownfish::Class inherits Clownfish::Obj { +public final class Clownfish::Class inherits Clownfish::Obj { Class *parent; String *name; @@ -51,7 +51,7 @@ final class Clownfish::Class inherits Clownfish::Obj { * [](.find_parent_class). If the attempt fails, an error will * result. */ - inert Class* + public inert Class* singleton(String *class_name, Class *parent); /** Register a class, so that it can be retrieved by class name. @@ -96,20 +96,20 @@ final class Clownfish::Class inherits Clownfish::Obj { /** Replace a function pointer in the Class's vtable. */ - void + public void Override(Class *self, cfish_method_t method_ptr, uint32_t offset); /** Create an empty object of the type defined by the Class: allocate, * assign its class and give it an initial refcount of 1. The caller is * responsible for initialization. */ - incremented Obj* + public incremented Obj* Make_Obj(Class *self); /** Take a raw memory allocation which is presumed to be of adequate size, * assign its class and give it an initial refcount of 1. */ - incremented Obj* + public incremented Obj* Init_Obj(Class *self, void *allocation); void @@ -119,10 +119,10 @@ final class Clownfish::Class inherits Clownfish::Obj { void Exclude_Host_Method(Class *self, const char *meth_name); - String* + public String* Get_Name(Class *self); - Class* + public Class* Get_Parent(Class *self); uint32_t
