svn commit: samba r14348 - in
branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR: .
jelmer at samba.org
jelmer at samba.org
Mon Mar 13 22:32:42 GMT 2006
Author: jelmer
Date: 2006-03-13 22:32:41 +0000 (Mon, 13 Mar 2006)
New Revision: 14348
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=14348
Log:
Fix location of #endif
Modified:
branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm
Changeset:
Modified: branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm
===================================================================
--- branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm 2006-03-13 21:21:44 UTC (rev 14347)
+++ branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm 2006-03-13 22:32:41 UTC (rev 14348)
@@ -2237,11 +2237,6 @@
my $count = 0;
- pidl_hdr "#ifndef _HEADER_RPC_$interface->{NAME}";
- pidl_hdr "#define _HEADER_RPC_$interface->{NAME}";
-
- pidl_hdr "";
-
if (defined $interface->{PROPERTIES}->{depends}) {
my @d = split / /, $interface->{PROPERTIES}->{depends};
foreach my $i (@d) {
@@ -2293,7 +2288,6 @@
pidl_hdr "#define DCERPC_" . uc $interface->{NAME} . "_CALL_COUNT ($val)";
- pidl_hdr "#endif /* _HEADER_RPC_$interface->{NAME} */";
}
#####################################################################
@@ -2302,6 +2296,11 @@
{
my($interface,$needed) = @_;
+ pidl_hdr "#ifndef _HEADER_RPC_$interface->{NAME}";
+ pidl_hdr "#define _HEADER_RPC_$interface->{NAME}";
+
+ pidl_hdr "";
+
HeaderInterface($interface);
# Typedefs
@@ -2329,6 +2328,8 @@
}
FunctionTable($interface);
+
+ pidl_hdr "#endif /* _HEADER_RPC_$interface->{NAME} */";
}
#####################################################################
@@ -2422,4 +2423,3 @@
}
1;
-
More information about the samba-cvs
mailing list