At Tue, 7 Jul 2009 11:35:53 +0200,
José Luis García Pallero wrote:
> I propose to make the checks with macros. In this way, we can use the same
> macro for checking the arguments in the cblas_* function and in the
> gsl_cblas_* wrapper. The arguments of the macro must be the arguments of the
> function tocheck and an extra variable for store the result of the testing.
> For example, for the functions *gemv (s, d, c and z versions performs the
> same checks), the macro can be like:

Sounds reasonable, you could make it more compact by defining macros
for each case (stride, dimensions, etc) since they are common to all
functions and combining them in a macro for each function type.

-- 
Brian Gough
(GSL Maintainer)

Support freedom by joining the FSF 
http://www.fsf.org/associate/support_freedom/join_fsf?referrer=37


_______________________________________________
Help-gsl mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gsl

Reply via email to