Merge branch 'CLOWNFISH-27-refcount_functions' Refcount manipulation is challenging to get right across multiple host languages. It is not something we can sanely document and design for extensibility, so overriding it via the method hierarchy should not be a user-level feature.
This closes #3 Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/5646bf05 Tree: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/tree/5646bf05 Diff: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/diff/5646bf05 Branch: refs/heads/master Commit: 5646bf0573fe32d1ec0709b3d47741f6f1e08f19 Parents: 5055c1a c0b9090 Author: Marvin Humphrey <[email protected]> Authored: Fri Feb 13 13:31:21 2015 -0800 Committer: Marvin Humphrey <[email protected]> Committed: Fri Feb 13 13:31:21 2015 -0800 ---------------------------------------------------------------------- compiler/src/CFCBindCore.c | 78 ++++++++++- compiler/src/CFCPerlConstructor.c | 2 +- runtime/c/src/Clownfish/Class.c | 7 - runtime/c/src/Clownfish/LockFreeRegistry.c | 32 ----- runtime/c/src/Clownfish/Obj.c | 71 +++++++++- runtime/core/Clownfish/Class.c | 60 ++++----- runtime/core/Clownfish/Class.cfh | 13 +- runtime/core/Clownfish/Err.cfh | 2 +- runtime/core/Clownfish/Hash.c | 20 --- runtime/core/Clownfish/Hash.cfh | 9 -- runtime/core/Clownfish/LockFreeRegistry.cfh | 3 - runtime/core/Clownfish/Method.c | 40 +++--- runtime/core/Clownfish/Method.cfh | 14 +- runtime/core/Clownfish/Num.c | 11 -- runtime/core/Clownfish/Num.cfh | 6 - runtime/core/Clownfish/Obj.cfh | 79 ----------- runtime/core/Clownfish/String.c | 15 +-- runtime/core/Clownfish/String.cfh | 4 +- runtime/core/Clownfish/Test/TestObj.c | 10 +- runtime/core/Clownfish/Test/TestVArray.c | 9 +- runtime/example-lang/src/Clownfish/Class.c | 6 - .../src/Clownfish/LockFreeRegistry.c | 28 ---- runtime/example-lang/src/Clownfish/Obj.c | 6 +- .../perl/buildlib/Clownfish/Build/Binding.pm | 15 +++ runtime/perl/t/binding/019-obj.t | 41 +++--- runtime/perl/xs/XSBind.c | 130 ++++++++++++++----- runtime/perl/xs/XSBind.h | 2 +- 27 files changed, 346 insertions(+), 367 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/5646bf05/compiler/src/CFCBindCore.c ----------------------------------------------------------------------
