geany/geany — comment on commit efcce8808e92ba56684605790959cb014a11c9c8
File:  line 0
By codebrainz:

I personally just don't think `setptr` or `utils_rebind` are needed at all. It's basically only for code-writing syntactic sugar and it's one more thing the reader (and writer even) of the code must take into consideration since it's not widely recognized. Sure it means an extra 2 or 3 lines of code in a function, but it also means the logic of that is right there while reading the function without the reader having to go look to see what it does. C is a verbose language anyway, a few extra short lines for clarity wouldn't hurt, especially since it's just replaced by the CPP anyway. If it wasn't a common C idiom, I would for sure be in favour of a separate function.

Otherwise, I'm fine with `utils_rebind` or `utils_replace_ptr` or some other variation.