From 62297dff8f64de8ffa3fe4d2a7cd99d45173561d Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 5 Aug 2010 13:29:56 +0200 Subject: pidl:Samba4/NDR/Client: convert code to $self->pidl() metze --- pidl/pidl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pidl/pidl') diff --git a/pidl/pidl b/pidl/pidl index 394611ab53..c64ea959b1 100755 --- a/pidl/pidl +++ b/pidl/pidl @@ -698,7 +698,8 @@ sub process_file($) my ($c_header) = $c_client; $c_header =~ s/\.c$/.h/; - my ($srcd,$hdrd) = Parse::Pidl::Samba4::NDR::Client::Parse( + my $generator = new Parse::Pidl::Samba4::NDR::Client(); + my ($srcd,$hdrd) = $generator->Parse( $ndr,$gen_header,$h_filename,$c_header); FileSave($c_client, $srcd); -- cgit