Merge branch 'bleed' of http://leto.net/code/Math-GSL into bleed
[Math-GSL.git] / Errno.i
blob852d5aacdd24e6da1027ee20f5a1b885e8145828
1 %module "Math::GSL::Errno"
2 %{
3 #include "gsl/gsl_errno.h"
4 %}
6 %include "gsl/gsl_errno.h"
8 %perlcode %{
9 @EXPORT_OK = qw/
10 gsl_error gsl_stream_printf gsl_strerror gsl_set_error_handler
11 gsl_set_error_handler_off gsl_set_stream_handler gsl_set_stream
12 $GSL_SUCCESS $GSL_FAILURE $GSL_CONTINUE $GSL_EDOM
13 $GSL_ERANGE $GSL_EFAULT $GSL_EINVAL $GSL_EFAILED
14 $GSL_EFACTOR $GSL_ESANITY $GSL_ENOMEM $GSL_EBADFUNC
15 $GSL_ERUNAWAY $GSL_EMAXITER $GSL_EZERODIV $GSL_EBADTOL
16 $GSL_ETOL $GSL_EUNDRFLW $GSL_EOVRFLW $GSL_ELOSS
17 $GSL_EROUND $GSL_EBADLEN $GSL_ENOTSQR $GSL_ESING
18 $GSL_EDIVERGE $GSL_EUNSUP $GSL_EUNIMPL $GSL_ECACHE
19 $GSL_ETABLE $GSL_ENOPROG $GSL_ENOPROGJ $GSL_ETOLF
20 $GSL_ETOLX $GSL_ETOLG $GSL_EOF
22 %EXPORT_TAGS = ( all => [ @EXPORT_OK ] );
24 =head1 NAME
26 Math::GSL::Errno - Error Handling
28 =cut
30 =head1 SYNOPSIS
32 use Math::GSL::Errno qw/:all/;
33 gsl_set_error_handler_off();
35 print gsl_strerror($GSL_EDOM) . "\n";
37 =head1 STATUS CODES
39 =over 4
41 =item * $GSL_SUCCESS
43 =item * $GSL_FAILURE
45 =item * $GSL_CONTINUE
47 =item * $GSL_EDOM
49 =item * $GSL_ERANGE
51 =item * $GSL_EFAULT
53 =item * $GSL_EINVAL
55 =item * $GSL_EFAILED
57 =item * $GSL_EFACTOR
59 =item * $GSL_ESANITY
61 =item * $GSL_ENOMEM
63 =item * $GSL_EBADFUNC
65 =item * $GSL_ERUNAWAY
67 =item * $GSL_EMAXITER
69 =item * $GSL_EZERODIV
71 =item * $GSL_EBADTOL
73 =item * $GSL_ETOL
75 =item * $GSL_EUNDRFLW
77 =item * $GSL_EOVRFLW
79 =item * $GSL_ELOSS
81 =item * $GSL_EROUND
83 =item * $GSL_EBADLEN
85 =item * $GSL_ENOTSQR
87 =item * $GSL_ESING
89 =item * $GSL_EDIVERGE
91 =item * $GSL_EUNSUP
93 =item * $GSL_EUNIMPL
95 =item * $GSL_ECACHE
97 =item * $GSL_ETABLE
99 =item * $GSL_ENOPROG
101 =item * $GSL_ENOPROGJ
103 =item * $GSL_ETOLF
105 =item * $GSL_ETOLX
107 =item * $GSL_ETOLG
109 =item * $GSL_EOF
111 =back
113 =cut