diff src/defun.h @ 3249:60866c521b92

[project @ 1999-07-13 03:44:16 by jwe]
author jwe
date Tue, 13 Jul 1999 03:46:16 +0000
parents 292ff0bf484b
children 4964d5391acc
line wrap: on
line diff
--- a/src/defun.h	Tue Jul 13 03:40:17 1999 +0000
+++ b/src/defun.h	Tue Jul 13 03:46:16 1999 +0000
@@ -103,9 +103,15 @@
 //   name is the name of the function, unquoqted.
 //
 //   ch_map is a pointer to a function that should be called for
-//     integer arguments that are expected to creat integer results.
+//     integer arguments that are expected to create integer results.
 //     (It's a kluge to handle character mappers like isalpha.)
 //
+//   d_b_map is a pointer to a function that should be called for real
+//     arguments that are expected to create bool results.
+//
+//   c_b_map is a pointer to a function that should be called for
+//     complex arguments that are expected to create bool results.
+//
 //   d_d_map is a pointer to a function that should be called for real
 //     arguments that are expected to create real results.
 //
@@ -127,10 +133,10 @@
 //
 //   doc is the simple help text for the function.
 
-#define DEFUN_MAPPER(name, ch_map, d_d_map, d_c_map, c_c_map, \
-		     lo, hi, can_ret_cmplx_for_real, doc) \
-  DEFUN_MAPPER_INTERNAL(name, ch_map, d_d_map, d_c_map, c_c_map, \
-			lo, hi, can_ret_cmplx_for_real, doc)
+#define DEFUN_MAPPER(name, ch_map, d_b_map, c_b_map, d_d_map, d_c_map, \
+		     c_c_map, lo, hi, can_ret_cmplx_for_real, doc) \
+  DEFUN_MAPPER_INTERNAL(name, ch_map, d_b_map, c_b_map, d_d_map, d_c_map, \
+			c_c_map, lo, hi, can_ret_cmplx_for_real, doc)
 
 // Make alias another name for the existing function name.  This macro
 // must be used in the same file where name is defined, after the