From 68baa7e7f8088e21eaa3d0b568a985528314ada5 Mon Sep 17 00:00:00 2001 From: Dirk Herrmann Date: Sat, 17 Mar 2001 12:20:36 +0000 Subject: * validate.h (SCM_WRONG_NUM_ARGS): Call scm_error_num_args_subr instead of scm_wrong_num_args. * coop-threads.c: Don't include libguile/strings.h. (Was only needed for former implementation of SCM_WRONG_NUM_ARGS.) * debug.c (scm_m_start_stack): Don't use SCM_ASSERT to check for wrong-num-args errors. --- libguile/validate.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libguile/validate.h') diff --git a/libguile/validate.h b/libguile/validate.h index 969b412ad..a75e7eea2 100644 --- a/libguile/validate.h +++ b/libguile/validate.h @@ -1,4 +1,4 @@ -/* $Id: validate.h,v 1.28 2001-03-15 11:24:45 mgrabmue Exp $ */ +/* $Id: validate.h,v 1.29 2001-03-17 12:20:36 dirk Exp $ */ /* Copyright (C) 1999, 2000 Free Software Foundation, Inc. * * This program is free software; you can redistribute it and/or modify @@ -58,7 +58,7 @@ do { scm_misc_error (FUNC_NAME, str, args); } while (0) #define SCM_WRONG_NUM_ARGS() \ - do { scm_wrong_num_args (scm_makfrom0str (FUNC_NAME)); } while (0) + do { scm_error_num_args_subr (FUNC_NAME); } while (0) #define SCM_WRONG_TYPE_ARG(pos, obj) \ do { scm_wrong_type_arg (FUNC_NAME, pos, obj); } while (0) -- cgit v1.2.3