summaryrefslogtreecommitdiff
path: root/source4/build/pidl/header.pm
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-11-21 02:19:09 +0000
committerAndrew Tridgell <tridge@samba.org>2003-11-21 02:19:09 +0000
commit9fc7be869be366bb19e163b8c317489abca5ae36 (patch)
tree419a2d3950b9404952f11b0bb96342307e2d9964 /source4/build/pidl/header.pm
parentd869d8c8eb532d89721c5deaf17f092a3b729162 (diff)
downloadsamba-9fc7be869be366bb19e163b8c317489abca5ae36.tar.gz
samba-9fc7be869be366bb19e163b8c317489abca5ae36.tar.bz2
samba-9fc7be869be366bb19e163b8c317489abca5ae36.zip
added support for 'ascstr', a ascii string in MSRPC !
(This used to be commit a5eeb3be0577e0ce91ac1f6e641782e4acbbda07)
Diffstat (limited to 'source4/build/pidl/header.pm')
-rw-r--r--source4/build/pidl/header.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/build/pidl/header.pm b/source4/build/pidl/header.pm
index 83e2cfd4ac..ec8b8451ad 100644
--- a/source4/build/pidl/header.pm
+++ b/source4/build/pidl/header.pm
@@ -125,11 +125,11 @@ sub HeaderType($$$)
HeaderUnion($data, $name);
return;
}
- if ($data =~ "unistr") {
+ if ($data =~ "unistr" ||
+ $data =~ "ascstr") {
$res .= "const char";
- } elsif ($data =~ "nstring") {
- $res .= "const char *";
- } elsif ($data =~ "lstring") {
+ } elsif ($data =~ "nstring" ||
+ $data =~ "lstring") {
$res .= "const char *";
} elsif (util::is_scalar_type($data)) {
$res .= "$data";