mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-25 13:05:05 +02:00
Unneeded right now
This commit is contained in:
parent
4834981ba2
commit
32003607fb
1 changed files with 0 additions and 15 deletions
15
atomics.sld
15
atomics.sld
|
@ -1,15 +0,0 @@
|
||||||
(define-library (atomics)
|
|
||||||
(export
|
|
||||||
atomic:get
|
|
||||||
atomic:set!
|
|
||||||
)
|
|
||||||
(include-c-header "<ck_pr.h>")
|
|
||||||
(begin
|
|
||||||
;TODO: won't work, ints are immutable
|
|
||||||
;(define-c atomic:fx++
|
|
||||||
; "(void *data, int argc, closure _, object k, object num)"
|
|
||||||
; " Cyc_check_fixnum(data, num);
|
|
||||||
; ck_pr_add_ptr(&num, 2);
|
|
||||||
; return_closcall1(data, k, num); ")
|
|
||||||
))
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue