mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
19 lines
383 B
C
19 lines
383 B
C
#pragma once
|
|
|
|
#define UNICODE
|
|
|
|
#ifndef PATH_MAX
|
|
#define PATH_MAX 4096
|
|
#endif
|
|
|
|
#define OOM exit(report_error("Out of memory", EXIT_FAILURE))
|
|
#define True 1
|
|
#define False 0
|
|
#include <wchar.h>
|
|
#include <stdbool.h>
|
|
|
|
void set_gui_app(bool yes);
|
|
|
|
int execute_python_entrypoint(int argc, char * const *argv, const wchar_t *basename,
|
|
const wchar_t *module, const wchar_t *function);
|