OILS / cpp / pylib.h View on Github | oils.pub

24 lines, 10 significant
1// pylib.h: Replacement for pylib/*.py
2
3#ifndef LEAKY_PYLIB_H
4#define LEAKY_PYLIB_H
5
6#include "mycpp/runtime.h"
7
8namespace os_path {
9
10BigStr* rstrip_slashes(BigStr* s);
11
12} // namespace os_path
13
14namespace path_stat {
15
16bool exists(BigStr* path);
17
18bool isdir(BigStr* path);
19
20bool isfile(BigStr* path);
21
22} // namespace path_stat
23
24#endif // LEAKY_PYLIB_H