I´ve seen this in many popular C-Projects e.g the Go language and nowhere i can find some information about it. I think it is a kind of namespacing but i thought C doesn´t support it.
e.g
void runtime·memhash(uintptr*, uintptr, void*);
Thanks.
I´ve seen this in many popular C-Projects e.g the Go language and nowhere i can find some information about it. I think it is a kind of namespacing but i thought C doesn´t support it.
void runtime·memhash(uintptr*, uintptr, void*);
Thanks.
·
is not a part of the "basic execution character set", and thus is not a standard C operator.
However, it does appear that the C standard allows it as an implementation-defined identifier character. It has no special meaning; it's just another character.
$
in JS and Java, that some compilers allow. in whatever compiler(s) the code was made to run in. C doesn't give it any meaning other than that, and doesn't even require that compilers accept it. But for compilers that do, it provides a character that obviously makes people stop and say "hey, these two parts are separate", even if they also ask "what's that thing separating them? What operator is this?" :)