Add the ability to read type

This commit is contained in:
Greg Hellings
2025-02-25 19:49:02 -06:00
parent fc904b33b3
commit 945823370b
6 changed files with 71 additions and 13 deletions
+4
View File
@@ -11,6 +11,10 @@ namespace sword_rs {
return rust::String(this->module->getName());
}
rust::String Module::get_type() const {
return rust::String(this->module->getType());
}
void Module::increment() {
this->module->increment();
}