diff options
author | Andrew Tridgell <tridge@samba.org> | 2009-09-17 09:10:21 -0700 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2009-09-17 21:52:25 -0700 |
commit | aeb22cae07272212097e7cefcca0a60f06599dab (patch) | |
tree | 8d60f3bfe549c7934fb60407054b591550b4897d /pidl/lib/Parse/Pidl/NDR.pm | |
parent | f93d71651640e05500b59fcd8f33a4f2132313ff (diff) | |
download | samba-aeb22cae07272212097e7cefcca0a60f06599dab.tar.gz samba-aeb22cae07272212097e7cefcca0a60f06599dab.tar.bz2 samba-aeb22cae07272212097e7cefcca0a60f06599dab.zip |
s4-pidl: add support for NDR64
Added support for NDR64 to the samba4 pidl generator
Diffstat (limited to 'pidl/lib/Parse/Pidl/NDR.pm')
-rw-r--r-- | pidl/lib/Parse/Pidl/NDR.pm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pidl/lib/Parse/Pidl/NDR.pm b/pidl/lib/Parse/Pidl/NDR.pm index a36f638092..7aebed0fe2 100644 --- a/pidl/lib/Parse/Pidl/NDR.pm +++ b/pidl/lib/Parse/Pidl/NDR.pm @@ -363,7 +363,10 @@ sub find_largest_alignment($) my $a = 1; if ($e->{POINTERS}) { - $a = 4; + # this is a hack for NDR64 + # the NDR layer translates this into + # an alignment of 4 for NDR and 8 for NDR64 + $a = 5; } elsif (has_property($e, "subcontext")) { $a = 1; } elsif (has_property($e, "transmit_as")) { |