Skip to content

Commit

Permalink
Got some good old regex working. GFX function finder works better now…
Browse files Browse the repository at this point in the history
…. But blitfunc is not working as well
  • Loading branch information
Kartik Thakore committed Feb 2, 2010
1 parent 61fce1b commit 080ff17
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tools/GFX_headers_digest.pl
Expand Up @@ -16,10 +16,7 @@

my $file = '/usr/include/SDL/'.$header;
print " ################## $file ####################\n";
# my $c = C::Scan->new('filename' => $file);

# my $fdec = $c->get('fdecls');


open my $FH, '<'.$file or die $!;

grep { $_ =~ /^(\s+|)(\S+) (\S+) (\*|)(\S+)(\()/; print "$5 \n" if $5 } <$FH>;
Expand Down

0 comments on commit 080ff17

Please sign in to comment.