mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-07-13 12:40:24 +02:00
* list.c: Moved append docs to append! Thanks Dirk Hermann. Also,
added append docs from R4RS. * strings.c: Docstring typo fix, + eliminate unneeded IMP tests. Thanks Dirk Hermann! * chars.h: Provide SCM_CHARP, SCM_CHAR, SCM_MAKE_CHAR and deprecate SCM_ICHRP, SCM_ICHR, SCM_MAKICHR. Thanks Dirk Hermann! * *.h, *.c: Use SCM_CHARP, SCM_CHAR, SCM_MAKE_CHAR throughout. Drop use of SCM_P for function prototypes... assume an ANSI C compiler. Thanks Dirk Hermann!
This commit is contained in:
parent
e510ed373f
commit
7866a09b5b
79 changed files with 939 additions and 938 deletions
|
@ -1,4 +1,4 @@
|
|||
/* $Id: scm_validate.h,v 1.19 2000-01-17 19:44:01 gjb Exp $ */
|
||||
/* $Id: scm_validate.h,v 1.20 2000-03-02 20:54:43 gjb Exp $ */
|
||||
/* Copyright (C) 1999 Free Software Foundation, Inc.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
|
@ -100,11 +100,11 @@
|
|||
do { SCM_ASSERT(SCM_BOOLP(flag), flag, pos, FUNC_NAME); \
|
||||
cvar = (SCM_BOOL_T == flag)? 1: 0; } while (0)
|
||||
|
||||
#define SCM_VALIDATE_ICHR(pos,scm) SCM_MAKE_VALIDATE(pos,scm,ICHRP)
|
||||
#define SCM_VALIDATE_CHAR(pos,scm) SCM_MAKE_VALIDATE(pos,scm,ICHRP)
|
||||
|
||||
#define SCM_VALIDATE_ICHR_COPY(pos,scm,cvar) \
|
||||
do { SCM_ASSERT(SCM_ICHRP(scm), scm, pos, FUNC_NAME); \
|
||||
cvar = SCM_ICHR(scm); } while (0)
|
||||
#define SCM_VALIDATE_CHAR_COPY(pos,scm,cvar) \
|
||||
do { SCM_ASSERT(SCM_CHARP(scm), scm, pos, FUNC_NAME); \
|
||||
cvar = SCM_CHAR(scm); } while (0)
|
||||
|
||||
#define SCM_VALIDATE_ROSTRING(pos,str) SCM_MAKE_VALIDATE(pos,str,ROSTRINGP)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue