svn commit: samba r9055 - in branches/SAMBA_4_0/source/build/pidl/Parse/Pidl/Samba: .

metze at samba.org metze at samba.org
Thu Aug 4 06:52:58 GMT 2005


Author: metze
Date: 2005-08-04 06:52:58 +0000 (Thu, 04 Aug 2005)
New Revision: 9055

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

Log:
fix header generation for string_array and some other  scalar types
the are actualy mapped to pointers in the api

metze
Modified:
   branches/SAMBA_4_0/source/build/pidl/Parse/Pidl/Samba/Header.pm


Changeset:
Modified: branches/SAMBA_4_0/source/build/pidl/Parse/Pidl/Samba/Header.pm
===================================================================
--- branches/SAMBA_4_0/source/build/pidl/Parse/Pidl/Samba/Header.pm	2005-08-04 06:14:34 UTC (rev 9054)
+++ branches/SAMBA_4_0/source/build/pidl/Parse/Pidl/Samba/Header.pm	2005-08-04 06:52:58 UTC (rev 9055)
@@ -62,7 +62,7 @@
 		next if is_constant($_);
 		$numstar++;
 	}
-	$numstar-- if ($element->{TYPE} eq "string");
+	$numstar-- if Parse::Pidl::Typelist::scalar_is_reference($element->{TYPE});
 	pidl "*" foreach (1..$numstar);
 	pidl $element->{NAME};
 	foreach (@{$element->{ARRAY_LEN}}) {



More information about the samba-cvs mailing list