Unidata / UDUNITS-2

API and utility for arithmetic manipulation of units of physical quantities
http://www.unidata.ucar.edu/software/udunits
Other
62 stars 36 forks source link

`itum` seems like it should be spelled `item` - need a comment #78

Open schwehr opened 6 years ago

schwehr commented 6 years ago

If it really should be itum, what does it mean? This is short for Id To Unit Map, yes? Perhaps a comment somewhere?

find . -name "*.[ch]" | xargs grep -i itum
./lib/ut_free_system.c: itumFreeSystem(system);
./lib/idToUnitMap.h:itumFreeSystem(
./lib/idToUnitMap.c:itumNew(
./lib/idToUnitMap.c:itumFree(
./lib/idToUnitMap.c:itumAdd(
./lib/idToUnitMap.c:itumRemove(
./lib/idToUnitMap.c:itumFind(
./lib/idToUnitMap.c:            *idToUnit = itumNew(compare);
./lib/idToUnitMap.c:            status = itumAdd(*idToUnit, id, unit);
./lib/idToUnitMap.c:        : itumRemove(*idToUnit, id);
./lib/idToUnitMap.c:        const UnitAndId*    uai = itumFind(*idToUnit, id);
./lib/idToUnitMap.c:itumFreeSystem(
./lib/idToUnitMap.c:            itumFree(*idToUnit);