MCPcopy Create free account
hub / github.com/MyGUI/mygui / cmpExtension

Function cmpExtension

MyGUIEngine/src/msdfgen/main.cpp:261–266  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

259}
260
261static bool cmpExtension(const char *path, const char *ext) {
262 for (const char *a = path+strlen(path)-1, *b = ext+strlen(ext)-1; b >= ext; --a, --b)
263 if (a < path || toupper(*a) != toupper(*b))
264 return false;
265 return true;
266}
267
268template <int N>
269static const char *writeOutput(const BitmapConstSection<float, N> &bitmap, const char *filename, Format &format) {

Callers 2

writeOutputFunction · 0.85
mainFunction · 0.85

Calls 1

toupperFunction · 0.85

Tested by

no test coverage detected