summaryrefslogtreecommitdiff
path: root/source4/build/pidl/header.pm
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-11-16 11:34:32 +0000
committerAndrew Tridgell <tridge@samba.org>2003-11-16 11:34:32 +0000
commit0c5759a4b2615b9c57ee7de04275ced1fc7d19cb (patch)
tree678f17e309671ff9b3361b1bb1d5278e5a12b0d1 /source4/build/pidl/header.pm
parent7ca3720acba09c56944a2ef1bd4425e51e733fa4 (diff)
downloadsamba-0c5759a4b2615b9c57ee7de04275ced1fc7d19cb.tar.gz
samba-0c5759a4b2615b9c57ee7de04275ced1fc7d19cb.tar.bz2
samba-0c5759a4b2615b9c57ee7de04275ced1fc7d19cb.zip
added support for "relstr", structure and union properties and public
functions (This used to be commit fb2f8c6bffdaacdddbb7fb82439af70e17ce9a4b)
Diffstat (limited to 'source4/build/pidl/header.pm')
-rw-r--r--source4/build/pidl/header.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/build/pidl/header.pm b/source4/build/pidl/header.pm
index 53e495883d..e5acad2a63 100644
--- a/source4/build/pidl/header.pm
+++ b/source4/build/pidl/header.pm
@@ -128,6 +128,8 @@ sub HeaderType($$$)
}
if ($data =~ "unistr") {
$res .= "const char";
+ } elsif ($data =~ "relstr") {
+ $res .= "const char *";
} elsif (util::is_scalar_type($data)) {
$res .= "$data";
} elsif (util::has_property($e, "switch_is")) {