ruby: add accessor functions to SLICC def of MachineID

This commit is contained in:
Nilay Vaish 2015-08-14 19:28:44 -05:00
parent 62dcbe3d95
commit 2d9f3f8582

View file

@ -50,7 +50,10 @@ structure(InPort, external = "yes", primitive="yes") {
}
external_type(NodeID, default="0", primitive="yes");
external_type(MachineID);
structure (MachineID, external = "yes", non_obj="yes") {
MachineType getType();
NodeID getNum();
}
structure (Set, external = "yes", non_obj="yes") {
void setSize(int);