FileWatch* add_file_watch_native_patch(World* world, const char* filename, const char* moduleName) { circa::Value action; set_list(&action, 2); set_int(list_get(&action, 0), name_NativePatch); set_string(list_get(&action, 1), moduleName); return add_file_watch_action(world, filename, &action); }
FileWatch* add_file_watch_module_load(World* world, const char* filename, const char* moduleName) { circa::Value action; set_list(&action, 2); set_symbol(list_get(&action, 0), sym_PatchBlock); set_string(list_get(&action, 1), moduleName); return add_file_watch_action(world, filename, &action); }