mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-15 08:10:17 +02:00
Smob-related creanup.
This commit is contained in:
parent
38ae064c6e
commit
e841c3e0c0
51 changed files with 385 additions and 259 deletions
|
@ -78,7 +78,7 @@ do { \
|
|||
/* {Source properties}
|
||||
*/
|
||||
|
||||
extern long scm_tc16_srcprops;
|
||||
extern scm_bits_t scm_tc16_srcprops;
|
||||
|
||||
typedef struct scm_srcprops
|
||||
{
|
||||
|
@ -95,7 +95,7 @@ typedef struct scm_srcprops_chunk
|
|||
scm_srcprops srcprops[1];
|
||||
} scm_srcprops_chunk;
|
||||
|
||||
#define SRCPROPSP(p) (SCM_NIMP(p) && (SCM_TYP16 (p) == scm_tc16_srcprops))
|
||||
#define SRCPROPSP(p) (SCM_TYP16_PREDICATE (scm_tc16_srcprops, p))
|
||||
#define SRCPROPBRK(p) (SCM_BOOL (SCM_CELL_WORD_0 (p) & (1L << 16)))
|
||||
#define SRCPROPPOS(p) ((scm_srcprops *) SCM_CELL_WORD_1 (p))->pos
|
||||
#define SRCPROPLINE(p) (SRCPROPPOS(p) >> 12)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue