view src/gearsTools/gen_Stub.pl @ 323:f0b337cb6024 default tip

use goto err->panic
author anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
date Sat, 08 Feb 2020 20:37:42 +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));