History

Implemented basic native shell - takes compiled Command modules Defined shell Command module - should be implemented to pass modules to native shell Updated intrinsic type descriptors so they are not allocated on VM load

arr committed 10 years ago

Commit 330522f1 parent 8506dc611 files · +251 −139Browse files

Showing the changes to src/vm/builtin_module.cpp (1 of 11 files). Show all

Unified · Split

src/vm/builtin_module.cpp+1−1
@@ -61,7 +61,7 @@ void disvm::runtime::builtin::register_module_exports(const char *name, word_t t · 60 unmodified lines
6161 header.entry_pc = runtime_constants::invalid_program_counter;
6262 header.entry_type = -1;
6363
64− new_builtin->module_name = std::make_unique<vm_string_t>(::strlen(name), reinterpret_cast<const uint8_t *>(name));
64+ new_builtin->module_name = std::make_unique<vm_string_t>(std::strlen(name), reinterpret_cast<const uint8_t *>(name));
6565
6666 // Fill out code, type, and export sections
6767 for (auto i = word_t{ 0 }; i < table_length; ++i)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t