Skip to content

Commit

Permalink
add debug prints
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <falktx@falktx.com>
  • Loading branch information
falkTX committed Nov 12, 2023
1 parent d1314e8 commit 096e6c0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/kuriborosu.c
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ int main(int argc, char* argv[])
// check if file
if (plugin_arg[0] == '.' || plugin_arg[0] == '/')
{
printf("loading file as plugin '%s'...\n", plugin_arg);
kuriborosu_host_load_file(kuri, plugin_arg);
}
// check if argument
Expand All @@ -107,6 +108,7 @@ int main(int argc, char* argv[])
// TODO complete me
if (++i < argc)
{
printf("loading plugin-specific file '%s'...\n", argv[i]);
kuriborosu_host_set_plugin_custom_data(kuri, CUSTOM_DATA_TYPE_PATH, "file", argv[i]);
}
break;
Expand All @@ -117,6 +119,7 @@ int main(int argc, char* argv[])
}
else
{
printf("loading plugin '%s'...\n", plugin_arg);
kuriborosu_host_load_plugin(kuri, plugin_arg);
}
}
Expand Down

0 comments on commit 096e6c0

Please sign in to comment.