Consts
OutputMemory: cint = 1
- output will be ran in memory (no output file) (default) Source Edit
OutputPreprocess: cint = 5
- preprocessed file (used internally) Source Edit
Procs
proc addIncludePath(s: PccState; pathname: cstring) {.cdecl, importc: "tcc_add_include_path", ...raises: [], tags: [], forbids: [].}
- add include path Source Edit
proc addSysincludePath(s: PccState; pathname: cstring) {.cdecl, importc: "tcc_add_sysinclude_path", ...raises: [], tags: [], forbids: [].}
- add in system include path Source Edit
proc closeCCState(s: PccState) {.importc: "tcc_delete", cdecl, ...raises: [], tags: [], forbids: [].}
- free a TCC compilation context Source Edit
proc defineSymbol(s: PccState; sym, value: cstring) {.cdecl, importc: "tcc_define_symbol", ...raises: [], tags: [], forbids: [].}
- define preprocessor symbol 'sym'. Can put optional value Source Edit
proc openCCState(): PccState {.importc: "tcc_new", cdecl, ...raises: [], tags: [], forbids: [].}
- create a new TCC compilation context Source Edit
proc setLibPath(s: PccState; path: cstring) {.cdecl, importc: "tcc_set_lib_path", ...raises: [], tags: [], forbids: [].}
- set CONFIG_TCCDIR at runtime Source Edit
proc setOptions(s: PccState; options: cstring) {.cdecl, importc: "tcc_set_options", ...raises: [], tags: [], forbids: [].}
- set a options Source Edit
proc undefineSymbol(s: PccState; sym: cstring) {.cdecl, importc: "tcc_undefine_symbol", ...raises: [], tags: [], forbids: [].}
- undefine preprocess symbol 'sym' Source Edit