mirror of
https://github.com/ziglang/zig.git
synced 2026-11-22 04:37:39 -05:00
stage2: LLVM backend: implement struct type fwd decls
Makes struct types able to refer to themselves.
This commit is contained in:
1 parent
1d1f6a0421
commit
ea6706b6f4
6 files changed
+154
-82
No files matched your search
+1
-1
@@ -813,7 +813,7 @@ pub const Struct = struct {
|
||||
is_comptime: bool,
|
||||
};
|
||||
|
||||
pub fn getFullyQualifiedName(s: *Struct, gpa: *Allocator) ![]u8 {
|
||||
pub fn getFullyQualifiedName(s: *Struct, gpa: *Allocator) ![:0]u8 {
|
||||
return s.owner_decl.getFullyQualifiedName(gpa);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user