Mercurial > hg > CbC > CbC_xv6
view src/gearsTools/gen_Stub.pl @ 357:e194c940c664
fix Getopt
author | anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 15 Jun 2020 18:41:01 +0900 |
parents | 4d76280758db |
children |
line wrap: on
line source
#!/usr/bin/env perl use strict; use warnings; use FindBin; use lib "$FindBin::Bin/lib"; use Gears::Util; use Gears::Stub; use Getopt::Std; use File::Spec; use DDP {deparse => 1}; my $target_cbc_file = shift; my $stubManager = Gears::Stub->new(file_name => File::Spec->rel2abs($target_cbc_file)); my $interface_w_impl = $stubManager->findInterfacewImpl(File::Spec->rel2abs($target_cbc_file));