GCs support ForeignCells

This commit is contained in:
Andreas Rumpf 2016-01-25 03:14:22 +01:00
commit ad7e219117
4 changed files with 47 additions and 0 deletions

View file

@ -9,6 +9,8 @@
# Low level system locks and condition vars.
{.push stackTrace: off.}
when defined(Windows):
type
Handle = int
@ -118,3 +120,5 @@ else:
proc deinitSysCond(cond: var SysCond) {.noSideEffect,
importc: "pthread_cond_destroy", header: "<pthread.h>".}
{.pop.}