akavel / rsrc

Tool for embedding .ico & manifest resources in Go programs for Windows.
MIT License
1.22k stars 122 forks source link

The generated C file seems to have a syntax error using Unicode * instead of ascii *. #4

Closed treeform closed 10 years ago

treeform commented 10 years ago

void ·get_NAME(Slice a) { vs void *get_NAME(Slice a) {

akavel commented 10 years ago

Um, in subject you wrote "Unicode *", but in contents you wrote the so-called middot "·get_NAME"; I suppose you meant the middot in subject too, and if so then this is a feature, actually; those files are not to be compiled with regular C compiler, but with Go toolchain's one. For more details, see a related question on stackoverflow.com.

But if I misunderstood your issue, please try to explain in more detail so that I could better get it.

Thanks.

treeform commented 10 years ago

You are right I do not understand how the dot works.