ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Algorithm-FEC/FEC.xs
(Generate patch)

Comparing Algorithm-FEC/FEC.xs (file contents):
Revision 1.8 by root, Sun Dec 23 14:56:09 2007 UTC vs.
Revision 1.9 by root, Sun Dec 23 15:32:14 2007 UTC

35chk_array (SV *sv, int size, const char *func, const char *var) 35chk_array (SV *sv, int size, const char *func, const char *var)
36{ 36{
37 if (!SvROK (sv) 37 if (!SvROK (sv)
38 || SvTYPE (SvRV (sv)) != SVt_PVAV 38 || SvTYPE (SvRV (sv)) != SVt_PVAV
39 || av_len ((AV *)SvRV (sv)) != size - 1) 39 || av_len ((AV *)SvRV (sv)) != size - 1)
40 croak ("%s: %s (%s) must be a reference to an array of size %d (is %s)", func, SvPV_nolen (sv), var, size); 40 croak ("%s: %s (%s) must be a reference to an array of size %d", func, SvPV_nolen (sv), var, size);
41} 41}
42 42
43static void 43static void
44free_files (struct state *self) 44free_files (struct state *self)
45{ 45{

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines