[go-nuts] Re: Weird behavior C.GoString

2016-12-01 Thread Felipe Santos
The string is: mismatched parenthesis Em quinta-feira, 1 de dezembro de 2016 16:32:42 UTC-2, Felipe Santos escreveu: > > Sure, > If I compare the two strings with a Go compare function it is different > because of the last char > > Em quinta-feira, 1 de dezembro de 2016 16:2

[go-nuts] Re: Weird behavior C.GoString

2016-12-01 Thread Felipe Santos
are you sure the extra characters do not come from the next fmt.Printf in > your code? > > On Thursday, December 1, 2016 at 5:25:41 PM UTC+1, Felipe Santos wrote: >> >> Hi, >> >> I am trying to link C++ shared lib to my Go program. >> When I convert a C st