mirror of
https://github.com/janet-lang/janet
synced 2024-11-19 07:04:48 +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!")
|