start of new reload setup
This commit is contained in:
@@ -27,6 +27,10 @@ int main(int argc, char *argv[]) {
|
||||
printf("otherValue: %d\n", minimal_lib::otherValue++);
|
||||
std::this_thread::sleep_for(std::chrono::seconds(1));
|
||||
printf("\n");
|
||||
|
||||
if (hi_reload_solib("libmini.so") != HI_RELOAD_SUCCESS) {
|
||||
fprintf(stderr, "Failed to load solib\n");
|
||||
}
|
||||
}
|
||||
|
||||
hi_deinit();
|
||||
|
||||
Reference in New Issue
Block a user