mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-01 12:20:26 +02:00
* 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.
This commit is contained in:
parent
717050c8d5
commit
eff08ab65d
3 changed files with 27 additions and 17 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue