Merge branch 'CLOWNFISH-32-go-ctor-autogen-v2'

Autogenerate Go constructor bindings.

The constructors follow Go naming conventions, following the proof-of-concept
bindings: `NewFoo()`

Subtyping is not supported. Under the hood, we use the inert function `new`
when available -- unlike the Perl bindings, which use `init`.

This closes #27.


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

Branch: refs/heads/master
Commit: 06a7e809ec726da0961c78802458deb0d317ea96
Parents: 6090c31 cb1ae67
Author: Marvin Humphrey <[email protected]>
Authored: Mon Jul 20 14:27:39 2015 -0700
Committer: Marvin Humphrey <[email protected]>
Committed: Mon Jul 20 14:27:39 2015 -0700

----------------------------------------------------------------------
 compiler/src/CFCGo.c              |  12 +++-
 compiler/src/CFCGoClass.c         |  51 ++++++++++++++
 compiler/src/CFCGoClass.h         |   6 ++
 compiler/src/CFCGoFunc.c          | 120 ++++++++++++++++++++++++++++++---
 compiler/src/CFCGoFunc.h          |  23 ++++++-
 compiler/src/CFCGoMethod.c        |  63 +----------------
 compiler/src/CFCGoTypeMap.c       |  67 +++++-------------
 runtime/go/clownfish/clownfish.go |   8 ---
 8 files changed, 221 insertions(+), 129 deletions(-)
----------------------------------------------------------------------


Reply via email to