mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-14 15:40:19 +02:00
Use SCM_SMOB_* instead of SCM_CELL_* as appropriate. Use
SCM_SMOB_FLAGS and SCM_SET_SMOB_FLAGS instead of accessing the zeroth word directly. Use SCM_SMOB_PREDICATE as appropriate.
This commit is contained in:
parent
41a2f6fc0c
commit
f5710d53b1
18 changed files with 99 additions and 88 deletions
|
@ -71,8 +71,8 @@ srcprops_mark (SCM obj)
|
|||
static size_t
|
||||
srcprops_free (SCM obj)
|
||||
{
|
||||
*((scm_t_srcprops **) SCM_CELL_WORD_1 (obj)) = srcprops_freelist;
|
||||
srcprops_freelist = (scm_t_srcprops *) SCM_CELL_WORD_1 (obj);
|
||||
*((scm_t_srcprops **) SCM_SMOB_DATA (obj)) = srcprops_freelist;
|
||||
srcprops_freelist = (scm_t_srcprops *) SCM_SMOB_DATA (obj);
|
||||
return 0; /* srcprops_chunks are not freed until leaving guile */
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue