minor style changes

This commit is contained in:
Araq 2019-07-11 00:28:20 +02:00
commit cb3c3c306c
15 changed files with 134 additions and 110 deletions

View file

@ -66,7 +66,7 @@ const
OutputObj*: cint = 4 ## object file
OutputPreprocess*: cint = 5 ## preprocessed file (used internally)
proc setOutputType*(s: PCCState, outputType: cint): cint {.cdecl,
proc setOutputType*(s: PccState, outputType: cint): cint {.cdecl,
importc: "tcc_set_output_type".}
## set output type. MUST BE CALLED before any compilation
@ -74,7 +74,7 @@ proc addLibraryPath*(s: PccState, pathname: cstring): cint {.cdecl,
importc: "tcc_add_library_path".}
## equivalent to -Lpath option
proc addLibrary*(s: PCCState, libraryname: cstring): cint {.cdecl,
proc addLibrary*(s: PccState, libraryname: cstring): cint {.cdecl,
importc: "tcc_add_library".}
## the library name is the same as the argument of the '-l' option
@ -105,5 +105,3 @@ proc getSymbol*(s: PccState, name: cstring): pointer {.cdecl,
proc setLibPath*(s: PccState, path: cstring) {.cdecl,
importc: "tcc_set_lib_path".}
## set CONFIG_TCCDIR at runtime