summaryrefslogtreecommitdiff
path: root/pidl
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-10-03 18:13:25 +1000
committerAndrew Tridgell <tridge@samba.org>2009-10-03 18:17:23 +1000
commitf21fb4b3958fe630400b145b729c966fa9c053a9 (patch)
treed05c6b7258e75ef99ad251c93e76a0e5988fc875 /pidl
parent777143ef53864d9a6e6178bd5015f3183e14077f (diff)
downloadsamba-f21fb4b3958fe630400b145b729c966fa9c053a9.tar.gz
samba-f21fb4b3958fe630400b145b729c966fa9c053a9.tar.bz2
samba-f21fb4b3958fe630400b145b729c966fa9c053a9.zip
pidl: added int3264 as a base type
This is the type used for a variable that is 32 bits for NDR32 and 64 bits for NDR64
Diffstat (limited to 'pidl')
-rw-r--r--pidl/lib/Parse/Pidl/NDR.pm2
-rw-r--r--pidl/lib/Parse/Pidl/Typelist.pm2
2 files changed, 4 insertions, 0 deletions
diff --git a/pidl/lib/Parse/Pidl/NDR.pm b/pidl/lib/Parse/Pidl/NDR.pm
index 4f2578e72e..7c0f7bb7b4 100644
--- a/pidl/lib/Parse/Pidl/NDR.pm
+++ b/pidl/lib/Parse/Pidl/NDR.pm
@@ -52,6 +52,8 @@ my $scalar_alignment = {
'uint16' => 2,
'int32' => 4,
'uint32' => 4,
+ 'int3264' => 5,
+ 'uint3264' => 5,
'hyper' => 8,
'double' => 8,
'pointer' => 8,
diff --git a/pidl/lib/Parse/Pidl/Typelist.pm b/pidl/lib/Parse/Pidl/Typelist.pm
index 12ffa92bf6..55041a9602 100644
--- a/pidl/lib/Parse/Pidl/Typelist.pm
+++ b/pidl/lib/Parse/Pidl/Typelist.pm
@@ -34,6 +34,8 @@ my %scalars = (
"uint16" => "uint16_t",
"int32" => "int32_t",
"uint32" => "uint32_t",
+ "int3264" => "int32_t",
+ "uint3264" => "uint32_t",
"hyper" => "uint64_t",
"dlong" => "int64_t",
"udlong" => "uint64_t",