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 public class Pointer : Type
{ {
/* Datum wdith */ /* Data type being pointed to */
private ubyte datumWidth; private Type dataType;
this(string name) this(string name, Type dataType)
{ {
super(name); super(name);
this.dataType = dataType;
} }
} }