mirror of
https://github.com/janet-lang/janet
synced 2025-11-18 16:25:11 +00:00
Remove pthread.h from janet.h
Should make janet a bit easier to use. Also changes the header to not expose the size of native mutexes and rwlocks, except with janet_os_mutex_size and janet_os_rwlock_size.
This commit is contained in:
@@ -45,6 +45,7 @@
|
||||
(defn defmacro :macro
|
||||
"Define a macro."
|
||||
[name & more]
|
||||
(setdyn name @{}) # override old macro definitions in the case of a recursive macro
|
||||
(apply defn name :macro more))
|
||||
|
||||
(defmacro as-macro
|
||||
|
||||
Reference in New Issue
Block a user