]> git.imager.perl.org - imager.git/commitdiff
pick up im_ prefix functions too
authorTony Cook <tony@develop-help.com>
Mon, 13 Aug 2012 08:09:52 +0000 (18:09 +1000)
committerTony Cook <tony@develop-help.com>
Sat, 24 Nov 2012 03:59:25 +0000 (14:59 +1100)
apidocs.perl

index d08cf1f26306d2c90d4d23b64aaca4021f7153d6..02cb99ce7035c9c9f90bf31c0cd1bf688e083b7d 100644 (file)
@@ -178,7 +178,7 @@ Tony Cook <tonyc@cpan.org>
 
 =head1 SEE ALSO
 
-Imager, Imager::ExtUtils, Imager::Inline
+Imager, Imager::API, Imager::ExtUtils, Imager::Inline
 
 =cut
 EOS
@@ -193,7 +193,7 @@ sub make_func_list {
   my $in_struct;
   while (<FUNCS>) {
     /^typedef struct/ && ++$in_struct;
-    if ($in_struct && /\(\*f_(io?_\w+)/) {
+    if ($in_struct && /\(\*f_(i[om]?_\w+)/) {
       my $name = $1;
       $name =~ s/_imp$//;
       push @funcs, $name;