mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-07-05 22:45:48 -07:00
- add translators from errno and GetLastError to LibError - clarified return values of callbacks (they must return INFO_CB_CONTINUE to continue) - this exposed a few bugs in error handling chains (returning incorrect values); also reduced say-nothing instances of return -1. - move CHECK_ERR etc. macros to lib_error This was SVN commit r3229.
8 lines
305 B
C
Executable file
8 lines
305 B
C
Executable file
|
|
// path: portable and relative, must add current directory and convert to native
|
|
// better to use a cached string from rel_chdir - secure
|
|
extern LibError dir_add_watch(const char* path, intptr_t* watch);
|
|
|
|
extern LibError dir_cancel_watch(intptr_t watch);
|
|
|
|
extern LibError dir_get_changed_file(char* fn);
|