| 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 | |
| 8 | namespace os_path { | 
| 9 | |
| 10 | BigStr* rstrip_slashes(BigStr* s); | 
| 11 | |
| 12 | } // namespace os_path | 
| 13 | |
| 14 | namespace path_stat { | 
| 15 | |
| 16 | bool exists(BigStr* path); | 
| 17 | |
| 18 | bool isdir(BigStr* path); | 
| 19 | |
| 20 | } // namespace path_stat | 
| 21 | |
| 22 | #endif // LEAKY_PYLIB_H |