start of new reload setup

This commit is contained in:
2025-03-24 00:32:11 +02:00
parent 317e1acd07
commit fe095913f1
3 changed files with 10 additions and 5 deletions

View File

@@ -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();