Updated Pointer class

entity_declaration_type_checking
Tristan B. V. Kildaire 2021-04-23 09:15:03 +02:00
parent e2280fbfa8
commit d92fd13e14
1 changed files with 4 additions and 3 deletions

View File

@ -53,11 +53,12 @@ public class Double : Number
public class Pointer : Type
{
/* Datum wdith */
private ubyte datumWidth;
/* Data type being pointed to */
private Type dataType;
this(string name)
this(string name, Type dataType)
{
super(name);
this.dataType = dataType;
}
}