summaryrefslogtreecommitdiff
path: root/libguile/scm_validate.h
diff options
context:
space:
mode:
authorGreg J. Badros <gjb@cs.washington.edu>1999-12-13 00:52:43 +0000
committerGreg J. Badros <gjb@cs.washington.edu>1999-12-13 00:52:43 +0000
commiteff08ab65decd1987bc97fe135302c84dc873e08 (patch)
tree998943a3ed8c92698f7d8560cea146092e523d0f /libguile/scm_validate.h
parent717050c8d5a7df541453271791526de3da6ae570 (diff)
downloadguile-eff08ab65decd1987bc97fe135302c84dc873e08.tar.gz
* scm_validate.h: Drop the SCM_DOCSTRING_SNARF for turning off
SCM_VALIDATE macros; the SCM_VALIDATE macros should be checked for argument mismatches (along with the FUNC_NAME macro checking) by a static tool that runs directly over the .c files. * snarf.h: Handle SCM_REGISTER_PROC better when snarfing. The docstring is still missing from the .doc file; it just gives the name of the C function that gets called instead. * guile-doc-snarf.awk: Be sure to touch the output files to help make out. Also handle SCM_REGISTER_PROC better, and change the output format slightly.
Diffstat (limited to 'libguile/scm_validate.h')
-rw-r--r--libguile/scm_validate.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/libguile/scm_validate.h b/libguile/scm_validate.h
index 88d66f965..807a016b4 100644
--- a/libguile/scm_validate.h
+++ b/libguile/scm_validate.h
@@ -1,4 +1,4 @@
-/* $Id: scm_validate.h,v 1.5 1999-12-12 20:35:02 gjb Exp $ */
+/* $Id: scm_validate.h,v 1.6 1999-12-13 00:52:43 gjb Exp $ */
/* Copyright (C) 1999 Free Software Foundation, Inc.
*
* This program is free software; you can redistribute it and/or modify
@@ -93,8 +93,6 @@
-#ifndef SCM_DOCSTRING_SNARF
-
#define SCM_VALIDATE_NIM(pos,scm) \
do { SCM_ASSERT(SCM_NIMP(scm), scm, pos, FUNC_NAME); } while (0)
@@ -310,5 +308,3 @@
do { SCM_ASSERT (SCM_NIMP (v) && SCM_VECTORP (v) && len == SCM_LENGTH(v), v, pos, FUNC_NAME); } while (0)
#endif
-
-#endif