lucy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marvin Humphrey <mar...@rectangular.com>
Subject Re: [lucy-user] GO (aka golang) Client Bindings for Lucy
Date Fri, 23 Aug 2013 20:42:05 GMT
Hello, Philip,

On Thu, Aug 22, 2013 at 10:14 PM, Philip Southam <philip@zefr.com> wrote:
> Had some time to think about it on my long drive home and got it figured
> out. The key was to add my own "conversion" function in the comment
> preceding the `import "C"` deceleration as trying to cast from
> `uint8_t*` to `char*` in the Go code wouldn't work.

Glad to hear that you were able to fight through the problem, and thank you
for following up to let us know.  In retrospect, having Get_Ptr8() return
`uint8_t*` rather than `char*` was a questionable judgment call.  :)

> Now it's time to see if I can implement a "real world" scenario.

Please keep us posted!

Marvin Humphrey

Mime
View raw message