summaryrefslogtreecommitdiff
path: root/source4/build/pidl
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-07-19 19:21:40 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:29:44 -0500
commit4f3d66b0dfe49d5485eafce52f3abf4c6581bf57 (patch)
tree449a97550743787963164c4515082568f2439b86 /source4/build/pidl
parent728033178b74cbda9574ccdfe2329bae45312a60 (diff)
downloadsamba-4f3d66b0dfe49d5485eafce52f3abf4c6581bf57.tar.gz
samba-4f3d66b0dfe49d5485eafce52f3abf4c6581bf57.tar.bz2
samba-4f3d66b0dfe49d5485eafce52f3abf4c6581bf57.zip
r8614: Add COMRESULT/HRESULT scalar type
(This used to be commit 8637a85e6a349cce15a298154500921e9a0183a3)
Diffstat (limited to 'source4/build/pidl')
-rw-r--r--source4/build/pidl/Parse/Pidl/Typelist.pm8
1 files changed, 7 insertions, 1 deletions
diff --git a/source4/build/pidl/Parse/Pidl/Typelist.pm b/source4/build/pidl/Parse/Pidl/Typelist.pm
index 60b6e7905b..ab5df0fc52 100644
--- a/source4/build/pidl/Parse/Pidl/Typelist.pm
+++ b/source4/build/pidl/Parse/Pidl/Typelist.pm
@@ -137,6 +137,11 @@ my $scalars = {
IS_REFERENCE => 0,
NDR_ALIGN => 4
},
+ "COMRESULT" => {
+ "C_TYPE" => "COMRESULT",
+ IS_REFERENCE => 0,
+ NDR_ALIGN => 4
+ },
# special types
"nbt_string" => {
@@ -244,7 +249,8 @@ my $aliases = {
"char" => "uint8",
"long" => "int32",
"short" => "int16",
- "HYPER_T" => "hyper"
+ "HYPER_T" => "hyper",
+ "HRESULT" => "COMRESULT",
};
sub RegisterAliases()