summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2005-01-29 01:39:50 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:09:20 -0500
commit47c7fac70193b7cfa39b5a576a2c219708362841 (patch)
tree0ada2e347711329b21b420a414b4cdd7e5a8db42 /source4
parentedf62429fa1594f456440c3afffcb7e9647ba46d (diff)
downloadsamba-47c7fac70193b7cfa39b5a576a2c219708362841.tar.gz
samba-47c7fac70193b7cfa39b5a576a2c219708362841.tar.bz2
samba-47c7fac70193b7cfa39b5a576a2c219708362841.zip
r5073: Call new autogenerator function for swig stuff instead of old one.
(This used to be commit a1c98101e4ebdcc4a9504d401a9d34c88c797e6e)
Diffstat (limited to 'source4')
-rwxr-xr-xsource4/build/pidl/pidl.pl12
1 files changed, 6 insertions, 6 deletions
diff --git a/source4/build/pidl/pidl.pl b/source4/build/pidl/pidl.pl
index ab7b826349..7eb684e706 100755
--- a/source4/build/pidl/pidl.pl
+++ b/source4/build/pidl/pidl.pl
@@ -145,6 +145,12 @@ sub process_file($)
my($eparserhdr) = dirname($output) . "/packet-dcerpc-$basename.h";
IdlEParser::RewriteHeader($pidl, $header, $eparserhdr);
}
+ if ($opt_swig) {
+ my($filename) = $output;
+ $filename =~ s/\/ndr_/\//;
+ $filename = util::ChangeExtension($filename, ".i");
+ IdlSwig::RewriteHeader($pidl, $header, $filename);
+ }
}
if ($opt_client) {
@@ -210,12 +216,6 @@ $dcom
my($eparser) = dirname($output) . "/packet-dcerpc-$basename.c";
IdlEParser::RewriteC($pidl, $parser, $eparser);
}
- if ($opt_swig) {
- my($filename) = $output;
- $filename =~ s/\/ndr_/\//;
- $filename = util::ChangeExtension($filename, ".i");
- util::FileSave($filename, IdlSwig::Parse($pidl));
- }
}
if ($opt_diff) {