GitHub user rectang opened a pull request:

    https://github.com/apache/lucy-clownfish/pull/34

    Clownfish 59 refine go other types v2

    Refine the Go bindings for Class, Method, CharBuf, ByteBuf and 
StringIterator and add tests.
    
    This branch also changes ByteBuf's `Cat()` to take a Blob rather than 
another ByteBuf, similar to how CharBuf's `Cat()` takes a String.
    
    Compared to v1, this pull request...
    * Customizes the Go binding for `Class_Make_Obj`.
    * Adds testing for the Hash Go bindings for storing nil values.
    * Fixes a bad assignment in the ByteBuf tests.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/rectang/lucy-clownfish 
CLOWNFISH-59-refine-go-other-types-v2

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/lucy-clownfish/pull/34.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #34
    
----
commit 9f8face671530d662168a5482c5946397e5e7986
Author: Marvin Humphrey <[email protected]>
Date:   2015-08-07T21:31:35Z

    Custom Go bindings for Class.
    
    Add hand-coded binding for FetchClass.  Override GetMethods to return
    `[]Method` rather than `[]interface{}`.

commit 172822e62b8ce190dd58f5889bdce2185e037df2
Author: Marvin Humphrey <[email protected]>
Date:   2015-08-08T00:52:43Z

    Tests for Class Go bindings.

commit e68fe4bda0d30a7659f744e9dabab297e1fb180d
Author: Marvin Humphrey <[email protected]>
Date:   2015-08-08T00:53:14Z

    Implement Meth_Host_Name for Go.
    
    Takes Upper_Snake_Case and removes the underscores.

commit 7073bd06c9ce58f83a910d78d9f665e268902069
Author: Marvin Humphrey <[email protected]>
Date:   2015-08-08T00:54:26Z

    Tests for Method Go bindings.

commit f8c60c4fbb203a7b14548ed3d33bc39b812310f8
Author: Marvin Humphrey <[email protected]>
Date:   2015-08-08T01:02:31Z

    Mark subroutines as unimplemented for Go.
    
    *   `Obj_To_Host`
    *   `Class_Foster_Obj`
    *   `Class_find_parent_class

commit a3ce8dd881b57cb9a9d4b63bc03c6da0f725076a
Author: Marvin Humphrey <[email protected]>
Date:   2015-08-08T01:22:55Z

    Method ctor Go binding.
    
    Accepts an `unsafe.Pointer` for the `cfish_method_t` implementing
    function.

commit 647ef88ba585aa0b3802b4bf6952e26fa7008e68
Author: Marvin Humphrey <[email protected]>
Date:   2015-08-09T00:31:44Z

    Custom Go binding for StrIter_new.

commit cd8ca2cfeabcfa7cce242f7be07250a6d1e90c14
Author: Marvin Humphrey <[email protected]>
Date:   2015-08-09T00:33:15Z

    Tests for StringIterator Go bindings.

commit 7ef5eaf34d1caa8a3c6569599425da67ca5e26f0
Author: Marvin Humphrey <[email protected]>
Date:   2015-08-09T01:08:38Z

    Tests for CharBuf Go bindings.

commit 3e4631bf7ac64a11b36bfedd4f1dd6e94e76a3e6
Author: Marvin Humphrey <[email protected]>
Date:   2015-08-09T02:18:38Z

    Change BB_Cat to take Blob arg.
    
    This is analogous to having CharBuf's Cat take a String.

commit b42dfa9ca9f69575836c208b3d02e903eca85994
Author: Marvin Humphrey <[email protected]>
Date:   2015-08-09T02:19:41Z

    Tests for ByteBuf Go bindings.

commit 0ca01dd52e68e14271e891add1b312249ea1549e
Author: Marvin Humphrey <[email protected]>
Date:   2015-08-10T21:27:18Z

    Custom Go binding for Class_Make_Obj.

commit 214796066b96415287e0aa0363d3178cd8982c8a
Author: Marvin Humphrey <[email protected]>
Date:   2015-08-10T22:56:53Z

    Adapt Hash Go binding tests for NULL values.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to