Marshal now works with nil strings. Timezone and tzname vars are not public any more in the times module.
This commit is contained in:
parent
04300542da
commit
2509c08d34
2 changed files with 4 additions and 3 deletions
|
|
@ -26,8 +26,8 @@ type
|
|||
dMon, dTue, dWed, dThu, dFri, dSat, dSun
|
||||
|
||||
var
|
||||
timezone* {.importc, header: "<time.h>".}: int
|
||||
tzname* {.importc, header: "<time.h>" .}: array[0..1, cstring]
|
||||
timezone {.importc, header: "<time.h>".}: int
|
||||
tzname {.importc, header: "<time.h>" .}: array[0..1, cstring]
|
||||
|
||||
when defined(posix):
|
||||
type
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue