예제 #1
0
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);
}
예제 #2
0
파일: file_watch.cpp 프로젝트: arn-e/circa
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);
}