comparison src/defun.h @ 6989:2d326000e09b

[project @ 2007-10-09 20:32:42 by jwe]
author jwe
date Tue, 09 Oct 2007 20:32:43 +0000
parents b559b4bcf51f
children 93c65f2a5668
comparison
equal deleted inserted replaced
6988:c7484dcadd4d 6989:2d326000e09b
85 // complex arguments that are expected to create bool results. 85 // complex arguments that are expected to create bool results.
86 // 86 //
87 // d_d_map is a pointer to a function that should be called for real 87 // d_d_map is a pointer to a function that should be called for real
88 // arguments that are expected to create real results. 88 // arguments that are expected to create real results.
89 // 89 //
90 // d_c_map is a pointer to a function that should be called for 90 // c_d_map is a pointer to a function that should be called for
91 // complex arguments that are expected to create real results. 91 // complex arguments that are expected to create real results.
92 // 92 //
93 // c_c_map is a pointer to a function that should be called for 93 // c_c_map is a pointer to a function that should be called for
94 // complex arguments that are expected to create complex results. 94 // complex arguments that are expected to create complex results.
95 // 95 //
110 // (e.g., sqrt (-1)). 110 // (e.g., sqrt (-1)).
111 // 111 //
112 // doc is the simple help text for the function. 112 // doc is the simple help text for the function.
113 113
114 #define DEFUN_MAPPER(name, ch_map, d_b_map, c_b_map, d_d_map, \ 114 #define DEFUN_MAPPER(name, ch_map, d_b_map, c_b_map, d_d_map, \
115 d_c_map, c_c_map, lo, hi, ch_map_flag, \ 115 c_d_map, c_c_map, lo, hi, ch_map_flag, \
116 can_ret_cmplx_for_real, doc) \ 116 can_ret_cmplx_for_real, doc) \
117 DEFUN_MAPPER_INTERNAL (name, ch_map, d_b_map, c_b_map, d_d_map, \ 117 DEFUN_MAPPER_INTERNAL (name, ch_map, d_b_map, c_b_map, d_d_map, \
118 d_c_map, c_c_map, lo, hi, ch_map_flag, \ 118 c_d_map, c_c_map, lo, hi, ch_map_flag, \
119 can_ret_cmplx_for_real, doc) 119 can_ret_cmplx_for_real, doc)
120 120
121 // Make alias another name for the existing function name. This macro 121 // Make alias another name for the existing function name. This macro
122 // must be used in the same file where name is defined, after the 122 // must be used in the same file where name is defined, after the
123 // definition for name. 123 // definition for name.