GitHunt
SO

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.

No README found.

Languages

Python50.3%C31.7%Makefile13.4%C++2.9%Shell1.8%

Contributors

Apache License 2.0
Created April 29, 2023
Updated February 5, 2026
Soft-Where-Inc/LineOfCode | GitHunt