GCs support ForeignCells
This commit is contained in:
parent
b02e31e409
commit
ad7e219117
4 changed files with 47 additions and 0 deletions
|
|
@ -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.}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue