summaryrefslogtreecommitdiff
path: root/source4/pidl/lib/Parse/Pidl/Samba4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-12-27 17:50:53 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:47:49 -0500
commit05b141c5c93eecdc07b17d19804a0cf7b77f3ebd (patch)
tree475aa6ff898bd778f2cbcffc8a6062be3004e1d8 /source4/pidl/lib/Parse/Pidl/Samba4
parent0ad7b308a1c602ddab73668952cdf3837623b877 (diff)
downloadsamba-05b141c5c93eecdc07b17d19804a0cf7b77f3ebd.tar.gz
samba-05b141c5c93eecdc07b17d19804a0cf7b77f3ebd.tar.bz2
samba-05b141c5c93eecdc07b17d19804a0cf7b77f3ebd.zip
r12515: Use UUID directly rather then string containing UUID
(This used to be commit 465b9738709e7415eab58ea773bd138e8f0f20d6)
Diffstat (limited to 'source4/pidl/lib/Parse/Pidl/Samba4')
-rw-r--r--source4/pidl/lib/Parse/Pidl/Samba4/COM/Proxy.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/pidl/lib/Parse/Pidl/Samba4/COM/Proxy.pm b/source4/pidl/lib/Parse/Pidl/Samba4/COM/Proxy.pm
index 26a1225590..c0d460fe09 100644
--- a/source4/pidl/lib/Parse/Pidl/Samba4/COM/Proxy.pm
+++ b/source4/pidl/lib/Parse/Pidl/Samba4/COM/Proxy.pm
@@ -54,7 +54,7 @@ sub ParseRegFunc($)
$res.= "
const void *base_vtable;
- GUID_from_string(DCERPC_" . (uc $interface->{BASE}) . "_UUID, &base_iid);
+ base_iid = dcerpc_table_$interface->{BASE}.uuid;
base_vtable = dcom_proxy_vtable_by_iid(&base_iid);
if (base_vtable == NULL) {
@@ -73,7 +73,7 @@ sub ParseRegFunc($)
}
$res.= "
- GUID_from_string(DCERPC_" . (uc $interface->{NAME}) . "_UUID, &proxy_vtable.iid);
+ proxy_vtable.iid = dcerpc_table_$interface->{NAME}.uuid;
return dcom_register_proxy(&proxy_vtable);
}\n\n";