Skip to content

Commit

Permalink
Added NaVM.instructionTable to get instruction table from NaVM class
Browse files Browse the repository at this point in the history
  • Loading branch information
Nafees10 committed Feb 7, 2021
1 parent 5d2c0cb commit a5d3cec
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion source/navm/navm.d
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,10 @@ public:
}
return [];
}

/// a copy of the instructions table
@property NaInstruction[] instructionTable(){
return _instructionTable.dup;
}
/// Adds a new instruction
///
/// Returns: true on success, false if not (pointer might be null, code might be already in use, name might already be in use)
Expand Down

0 comments on commit a5d3cec

Please sign in to comment.