bypy/linux/util.h
raw| 1 | #pragma once |
| 2 | |
| 3 | #define UNICODE |
| 4 | |
| 5 | #ifndef PATH_MAX |
| 6 | #define PATH_MAX 4096 |
| 7 | #endif |
| 8 | |
| 9 | #define OOM exit(report_error("Out of memory", EXIT_FAILURE)) |
| 10 | #define True 1 |
| 11 | #define False 0 |
| 12 | #include <wchar.h> |
| 13 | #include <stdbool.h> |
| 14 | |
| 15 | void execute_python_entrypoint(int argc, char *const *argv, const wchar_t *basename, const wchar_t *module, const wchar_t *function, const bool gui_app); |