svn commit: samba r5485 - in branches/SAMBA_4_0/source/build/pidl: .

jelmer at samba.org jelmer at samba.org
Mon Feb 21 11:44:36 GMT 2005


Author: jelmer
Date: 2005-02-21 11:44:36 +0000 (Mon, 21 Feb 2005)
New Revision: 5485

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=5485

Log:
Support nopull,nopush in header.pm as well.

Modified:
   branches/SAMBA_4_0/source/build/pidl/header.pm


Changeset:
Modified: branches/SAMBA_4_0/source/build/pidl/header.pm
===================================================================
--- branches/SAMBA_4_0/source/build/pidl/header.pm	2005-02-21 11:21:11 UTC (rev 5484)
+++ branches/SAMBA_4_0/source/build/pidl/header.pm	2005-02-21 11:44:36 UTC (rev 5485)
@@ -224,9 +224,13 @@
 	my $pull_args = $tf->{PULL_FN_ARGS}->($d);
 	my $push_args = $tf->{PUSH_FN_ARGS}->($d);
 	my $print_args = $tf->{PRINT_FN_ARGS}->($d);
-	pidl "NTSTATUS ndr_push_$d->{NAME}($push_args);\n";
-    pidl "NTSTATUS ndr_pull_$d->{NAME}($pull_args);\n";
-    if (!util::has_property($d, "noprint")) {
+	unless (util::has_property($d, "nopush")) {
+		pidl "NTSTATUS ndr_push_$d->{NAME}($push_args);\n";
+	}
+	unless (util::has_property($d, "nopull")) {
+	    pidl "NTSTATUS ndr_pull_$d->{NAME}($pull_args);\n";
+	}
+    unless (util::has_property($d, "noprint")) {
 	    pidl "void ndr_print_$d->{NAME}($print_args);\n";
     }
 }



More information about the samba-cvs mailing list