mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 03:30:27 +02:00
Deprecate SCM_STATIC_DOUBLE_CELL snarf macro
* libguile/snarf.h: * libguile/deprecated.h (SCM_STATIC_DOUBLE_CELL): Deprecate this unused macro.
This commit is contained in:
parent
bf15afa6bf
commit
8f8e450a60
2 changed files with 12 additions and 9 deletions
|
@ -20,6 +20,7 @@
|
|||
*/
|
||||
|
||||
#include "libguile/__scm.h"
|
||||
#include "libguile/snarf.h"
|
||||
|
||||
#if (SCM_ENABLE_DEPRECATED == 1)
|
||||
|
||||
|
@ -42,6 +43,17 @@
|
|||
v, pos, FUNC_NAME); \
|
||||
} while (0)
|
||||
|
||||
#ifdef SCM_SUPPORT_STATIC_ALLOCATION
|
||||
#define SCM_STATIC_DOUBLE_CELL(c_name, car, cbr, ccr, cdr) \
|
||||
static SCM_ALIGNED (8) SCM_UNUSED scm_t_cell \
|
||||
c_name ## _raw_cell [2] = \
|
||||
{ \
|
||||
{ SCM_PACK (car), SCM_PACK (cbr) }, \
|
||||
{ SCM_PACK (ccr), SCM_PACK (cdr) } \
|
||||
}; \
|
||||
static SCM_UNUSED SCM c_name = SCM_PACK (& c_name ## _raw_cell)
|
||||
#endif /* SCM_SUPPORT_STATIC_ALLOCATION */
|
||||
|
||||
#define scm_gc_running_p 0
|
||||
|
||||
void scm_i_init_deprecated (void);
|
||||
|
|
|
@ -196,15 +196,6 @@ SCM_SNARF_INIT(scm_set_smob_apply((tag), (c_name), (req), (opt), (rest));)
|
|||
}; \
|
||||
static SCM_UNUSED const SCM c_name = SCM_PACK (& c_name ## _raw_cell)
|
||||
|
||||
#define SCM_STATIC_DOUBLE_CELL(c_name, car, cbr, ccr, cdr) \
|
||||
static SCM_ALIGNED (8) SCM_UNUSED scm_t_cell \
|
||||
c_name ## _raw_cell [2] = \
|
||||
{ \
|
||||
{ SCM_PACK (car), SCM_PACK (cbr) }, \
|
||||
{ SCM_PACK (ccr), SCM_PACK (cdr) } \
|
||||
}; \
|
||||
static SCM_UNUSED SCM c_name = SCM_PACK (& c_name ## _raw_cell)
|
||||
|
||||
#define SCM_IMMUTABLE_STRINGBUF(c_name, contents) \
|
||||
static SCM_UNUSED const \
|
||||
struct \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue