8 # this will match any function or variable
9 # being mapped in the symbol table that is
10 # not an internal swig wrapper
11 my $regex = qr/^\*(?!swig_)([^=]+)\s*=/;
14 push @export, $1 if /$regex/;
16 print build_code
(\
@export);
19 my ($export,$tags) = @_;
24 ! . join ("\n" . (' 'x15
), @
$export) . q
!
26 %EXPORT_TAGS = ( all
=> [ @EXPORT_OK ] );