module exports and name mangling
This commit is contained in:
@@ -88,15 +88,17 @@ public sealed class NubTypeStruct : NubType
|
||||
{
|
||||
public string Name { get; }
|
||||
public string Module { get; }
|
||||
public bool Packed { get; }
|
||||
|
||||
private IReadOnlyList<Field>? _resolvedFields;
|
||||
|
||||
public IReadOnlyList<Field> Fields => _resolvedFields ?? throw new InvalidOperationException();
|
||||
|
||||
public NubTypeStruct(string module, string name)
|
||||
public NubTypeStruct(string module, string name, bool packed)
|
||||
{
|
||||
Module = module;
|
||||
Name = name;
|
||||
Packed = packed;
|
||||
}
|
||||
|
||||
public void ResolveFields(IReadOnlyList<Field> fields)
|
||||
|
||||
Reference in New Issue
Block a user