News for hackers. Stuff that matters.
Re:Libui: a portable GUI library for C by criddell on Sunday May 20, 2018 @08:48AM (#17112492)
But ui is a super common prefix. I've seen it used for user-interface variable and function names and also in Microsoft-world in projects that abuse Hungarian notation (unsigned int).

Clearly it must not be a problem, I just don't understand how people work around it.

Re:Libui: a portable GUI library for C by yawaramin on Sunday May 20, 2018 @02:08PM (#17114014)
C compilation units have a static section which isn't exposed to the outside world (i.e. other compilation units): https://www.codingfriends.com/index.php/2010/07/13/static-in...
Re:Libui: a portable GUI library for C by andlabs on Monday May 21, 2018 @12:36PM (#17119630)
I don't know, but I do know I'm in the middle of making sure any non-static symbol name in libui either has a prefix of ui[capital letter] or uipriv[capital letter] to at least ameliorate this madness.
Re:Libui: a portable GUI library for C by detaro on Sunday May 20, 2018 @10:55AM (#17112957)
Yeah, only ui might not be a great prefix. It is a problem when names clash, and annoying to work around. Either you rename one of them, or you can wrap one library in a library of your own that changes the names.