mirror of
https://github.com/janet-lang/janet
synced 2024-12-24 15:30:27 +00:00
12 lines
192 B
Clojure
12 lines
192 B
Clojure
(import cook)
|
|
|
|
(cook/make-native
|
|
:name "testmod"
|
|
:source @["testmod.c"])
|
|
|
|
(import build/testmod :as testmod)
|
|
|
|
(if (not= 5 (testmod/get5)) (error "testmod/get5 failed"))
|
|
|
|
(print "OK!")
|