Soft-Where-Inc/LineOfCode
Machinery to uniquely generate __LOC__, a 4-byte int encoding of __FILE__, __LINE__ & __FUNC__. 'C' interfaces are provided to generate the encoding at compile-time and to decode the encoded value to its constituent file/func-name and line-number. Encoded line-of-code can be used for diagnostics, troubleshooting, resource tracking and other usages.
PythonApache-2.0