pidl: don't export parser class methods
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Sun, 1 Dec 2019 09:41:06 +0000 (22:41 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 4 Dec 2019 06:35:05 +0000 (06:35 +0000)
commiteddd6c52678b28131d5dba67e6a8eaf4e5696a92
treed6e89169d60a04c2471bccc5fdbf7e1343f713bc
parent8429418a88e803592f57e1997bfbe0f639f422c0
pidl: don't export parser class methods

These methods are not used or usable as exported functions. The
correct (and actual) usage is along these lines;

    require Parse::Pidl::Samba3::ClientNDR;
    my $generator = new Parse::Pidl::Samba3::ClientNDR();
    my ($c_code,$h_code) = $generator->Parse($ndr, $header, $c_header);

where the methods are either explicitly referenced (new A::B::C),
or are called from the blessed object, neither of which need
exporting.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Wed Dec  4 06:35:06 UTC 2019 on sn-devel-184
pidl/lib/Parse/Pidl/Samba3/ClientNDR.pm
pidl/lib/Parse/Pidl/Samba4/NDR/Client.pm
pidl/lib/Parse/Pidl/Samba4/Python.pm
pidl/lib/Parse/Pidl/Samba4/TDR.pm
pidl/tests/samba3-cli.pl