mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-29 14:30:34 +02:00
simplify SCM_TICK
* libguile/__scm.h (SCM_TICK): Define to simply scm_async_tick (or SCM_ASYNC_TICK when building Guile).
This commit is contained in:
parent
8b8723b307
commit
f311754e17
1 changed files with 5 additions and 4 deletions
|
@ -445,10 +445,11 @@ SCM_API void scm_async_tick (void);
|
|||
#define SCM_FENCE
|
||||
#endif
|
||||
|
||||
#define SCM_TICK \
|
||||
do { \
|
||||
SCM_ASYNC_TICK; \
|
||||
} while (0)
|
||||
#ifdef BUILDING_LIBGUILE
|
||||
#define SCM_TICK SCM_ASYNC_TICK
|
||||
#else
|
||||
#define SCM_TICK scm_async_tick ()
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue