mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 03:40:34 +02:00
* async.[ch]: unexpose low-level async access macros (thanks to
Dirk Herrmann). * validate.h: move async validation macros to async.c (nobody else needs them anyway), and rename them.
This commit is contained in:
parent
843e4e9d17
commit
e94e3f21d6
4 changed files with 43 additions and 37 deletions
|
@ -50,13 +50,6 @@
|
|||
#include "libguile/__scm.h"
|
||||
|
||||
|
||||
|
||||
#define SCM_ASYNCP(X) (SCM_NIMP(X) && (scm_tc16_async == SCM_GCTYP16 (X)))
|
||||
|
||||
#define SCM_ASYNC_GOT_IT(X) (SCM_CELL_WORD_0 (X) >> 16)
|
||||
#define SCM_SET_ASYNC_GOT_IT(X, V) (SCM_SET_CELL_WORD_0 (X, (SCM_CELL_WORD_0 (X) & ((1 << 16) - 1)) | ((V) << 16)))
|
||||
#define SCM_ASYNC_THUNK(X) SCM_CELL_OBJECT_1 (X)
|
||||
|
||||
|
||||
|
||||
extern unsigned int scm_mask_ints;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue