Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
blueloveTH committed Aug 11, 2023
1 parent 235b09a commit 15ecd74
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pocketpy
4 changes: 2 additions & 2 deletions src/project.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ void app_start(){
// python init
vm = new VM();
vm->_import_handler = &platform_load_asset;
vm->_stdout = [](VM* vm, const Str& s){ platform_log_info(s); };
vm->_stderr = [](VM* vm, const Str& s){ platform_log_error(s); };
vm->_stdout = [](VM* vm, const char* s, int n){ platform_log_info(Str(s, n)); };
vm->_stderr = [](VM* vm, const char* s, int n){ platform_log_error(Str(s, n)); };

add_module_imgui(vm);

Expand Down

0 comments on commit 15ecd74

Please sign in to comment.