#ifndef TECTONIC_ENGINE_XETEX_BINDGEN_H #define TECTONIC_ENGINE_XETEX_BINDGEN_H #include #include #include #include /** * A serial number describing the detailed binary layout of the TeX “format * files” used by this crate. This number will occasionally increment, * indicating that the format file structure has changed. There is no provision * for partial forwards or backwards compatibility: if the number changes, you * need to regenerate your format files. If you’re generating format files, you * should munge this serial number in the filename, or something along those * lines, to make sure that when the engine is updated you don’t attempt to * reuse old files. */ #define FORMAT_SERIAL 33 #ifdef __cplusplus extern "C" { #endif // __cplusplus extern int tt_xetex_set_int_variable(const char *var_name, int value); extern int tt_engine_xetex_main(ttbc_state_t *api, const char *dump_name, const char *input_file_name, uint64_t build_date); #ifdef __cplusplus } // extern "C" #endif // __cplusplus #endif /* TECTONIC_ENGINE_XETEX_BINDGEN_H */