src/pylib/Python/localeutils

Search:
Group by:
Source   Edit  

Lets

LC_ALL {.importc.}: cint
Source   Edit  
LC_CTYPE {.importc.}: cint
Source   Edit  

Procs

proc c_setlocale(category: cint; v: cstring): cstring {.importc: "setlocale",
    header: "<locale.h>", ...raises: [], tags: [], forbids: [].}
Source   Edit  

Templates

template setlocale(category; v: string): cstring
we know setlocale won't modify 2nd param Thus v: string is allowed to convert to cstring implicitly Source   Edit