Showing the changes to src/vm/vm.cpp (1 of 3 files). Show all
Unified · Split
| @@ -12,6 +12,7 @@ · 11 unmodified lines | ||
| 12 | 12 | #include <runtime.h> |
| 13 | 13 | #include <exceptions.h> |
| 14 | 14 | #include <builtin_module.h> |
| 15 | +#include <vm_version.h> | |
| 15 | 16 | #include "scheduler.h" |
| 16 | 17 | #include "garbage_collector.h" |
| 17 | 18 | |
| @@ -82,7 +83,7 @@ vm_t::~vm_t() · 64 unmodified lines | ||
| 82 | 83 | |
| 83 | 84 | vm_version_t vm_t::get_version() const |
| 84 | 85 | { |
| 85 | − return{ 1, 0, 0, "alpha" }; | |
| 86 | + return{ DISVM_VERSION_MAJOR, DISVM_VERSION_MINOR, DISVM_VERSION_PATCH, DISVM_VERSION_LABEL }; | |
| 86 | 87 | } |
| 87 | 88 | |
| 88 | 89 | namespace |