mirror of
https://github.com/janet-lang/janet
synced 2024-11-25 17:57:17 +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!")
|