janet-lang / spork

Various Janet utility modules - the official "Contrib" library.
MIT License
122 stars 35 forks source link

Add cdef directive for definning constants from C #131

Closed pepe closed 1 year ago

pepe commented 1 year ago

Akin to cfunction, but indeed much more superficial.

Part of the commit is the formatting by spork/fmt of the cjanet.janet file.