#location(..) and #call_location
This commit is contained in:
1 parent
e4944b4f2e
commit
4236519b84
11 files changed
+241
-96
No files matched your search
@@ -184,6 +184,19 @@ type (
|
||||
#thread_local var __context: Context;
|
||||
|
||||
|
||||
|
||||
type SourceCodeLocation struct {
|
||||
fully_pathed_filename: string,
|
||||
procedure: string,
|
||||
line, column: i64,
|
||||
}
|
||||
|
||||
proc make_source_code_location(file, procedure: string, line, column: i64) -> SourceCodeLocation {
|
||||
return SourceCodeLocation{file, procedure, line, column};
|
||||
}
|
||||
|
||||
|
||||
|
||||
const DEFAULT_ALIGNMENT = align_of([vector 4]f32);
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user