CodeLocation
CodeLocation :: struct {
file: string;
line: s32;
}
Type of source code location used by #call_location directive.
Example
foo :: fn (loc: *CodeLocation = #call_location) {
print("%\n", ^loc);
}
main :: fn () s32 {
foo();
return 0;
}
Members
file - Name of the source file.
line - Line in source file.
Declared in: a.bl