mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 03:30:27 +02:00
* symbols.h (SCM_SETLENGTH): Use SCM_SETCAR.
This commit is contained in:
parent
d92b2b8972
commit
836669b8eb
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ extern int scm_symhash_dim;
|
|||
#define SCM_SYMBOLP(x) (SCM_TYP7S(x)==scm_tc7_ssymbol)
|
||||
#define SCM_LENGTH(x) (((unsigned long)SCM_CAR(x))>>8)
|
||||
#define SCM_LENGTH_MAX (0xffffffL)
|
||||
#define SCM_SETLENGTH(x, v, t) SCM_CAR(x) = ((v)<<8)+(t)
|
||||
#define SCM_SETLENGTH(x, v, t) SCM_SETCAR((x), ((v)<<8)+(t))
|
||||
#define SCM_SETCHARS SCM_SETCDR
|
||||
#define SCM_CHARS(x) ((char *)(SCM_CDR(x)))
|
||||
#define SCM_UCHARS(x) ((unsigned char *)(SCM_CDR(x)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue