On Sun, Nov 06, 2011 at 08:19:07PM +0000, corvid wrote:
Johannes wrote:
I'd just go with the approach in your first patch.
All right then. Do you have any thoughts on what function names would be least unwieldy / most descriptive / best fitting in with their surroundings?
I'm thinking maybe dAsciiToupper() and dStrAsciiCasecmp().
Let's see what others do: * KDE: kAsciiToUpper() [1] * glib: g_ascii_toupper() [2] * ffmpeg: av_toupper() [3] * libevent: evutil_ascii_strcasecmp() [4] So dAsciiToupper() and dStrAsciiCasecmp() look good to me. Cheers, Johannes [1] http://api.kde.org/4.x-api/kdelibs-apidocs/kdecore/html/kascii_8h.html [2] http://developer.gnome.org/glib/2.28/glib-String-Utility-Functions.html [3] http://permalink.gmane.org/gmane.comp.video.ffmpeg.cvs/43420 [4] http://www.wangafu.net/~nickm/libevent-2.0/doxygen/html/util_8h.html