mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-07-02 15:40:38 +02:00
Deprecate SCM_SIMPLE_VECTOR_REF et al
* libguile/vectors.h: * libguile/deprecated.c: * libguile/deprecated.h (SCM_SIMPLE_VECTOR_LENGTH): (SCM_SIMPLE_VECTOR_REF): (SCM_SIMPLE_VECTOR_SET): Deprecate.
This commit is contained in:
parent
da51198ce8
commit
05e868892b
3 changed files with 35 additions and 6 deletions
|
@ -122,6 +122,14 @@ SCM_DEPRECATED SCM scm_regexp_exec (SCM rx, SCM str, SCM start, SCM flags);
|
|||
|
||||
#define SCM_VALIDATE_PAIR(cell, expr) SCM_VALIDATE_PAIR__Gone__Inline_second_argument_at_use
|
||||
|
||||
SCM_DEPRECATED size_t scm_i_simple_vector_length (SCM v);
|
||||
SCM_DEPRECATED SCM scm_i_simple_vector_ref (SCM v, size_t k);
|
||||
SCM_DEPRECATED void scm_i_simple_vector_set_x (SCM v, size_t k, SCM val);
|
||||
|
||||
#define SCM_SIMPLE_VECTOR_LENGTH(x) (scm_i_simple_vector_length (x))
|
||||
#define SCM_SIMPLE_VECTOR_REF(x,idx) (scm_i_simple_vector_ref (x, idx))
|
||||
#define SCM_SIMPLE_VECTOR_SET(x,idx,val) (scm_i_simple_vector_set_x (x, idx, val))
|
||||
|
||||
/* Deprecated declarations go here. */
|
||||
|
||||
void scm_i_init_deprecated (void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue