summaryrefslogtreecommitdiff
path: root/libguile/scm_validate.h
diff options
context:
space:
mode:
authorGreg J. Badros <gjb@cs.washington.edu>2000-03-02 20:54:43 +0000
committerGreg J. Badros <gjb@cs.washington.edu>2000-03-02 20:54:43 +0000
commit7866a09b5b355ea277d2dd780b24e98f647329d4 (patch)
tree475d3833314d66222ba9773505eec1f0af7d3b01 /libguile/scm_validate.h
parente510ed373f315ca26f17be1ebe963c5c226a158e (diff)
downloadguile-7866a09b5b355ea277d2dd780b24e98f647329d4.tar.gz
* 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!
Diffstat (limited to 'libguile/scm_validate.h')
-rw-r--r--libguile/scm_validate.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/libguile/scm_validate.h b/libguile/scm_validate.h
index d1df33394..92e8f9b38 100644
--- a/libguile/scm_validate.h
+++ b/libguile/scm_validate.h
@@ -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)