> > You wrote `*X.Y`; I'm going to assume you meant to write `*X = Y`. > *X.Y = value , where the Y field is a pointer to the C heap. But I suppose that is pretty much the same.
> This error message is telling you that in the assignment `*X = Y` Y > has a pointer type, but has the value 1. If you allocated Y from the > C heap, then it sounds like your C allocation failed with NULL and > somewhere along the way something added 1. > Thanks, that makes a lot of sense, although I have no clue why that allocation could have failed (couple of bytes with plenty of RAM). But I guess that is definitely not a go problem. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.