diff options
author | Andrew Tridgell <tridge@samba.org> | 2003-11-20 01:27:17 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2003-11-20 01:27:17 +0000 |
commit | cd3c6c3cc7b22ab38b9f53276891ad828831a38e (patch) | |
tree | a777701a98c49f0244183b0f655f395a43e64b24 /source4/build/pidl/util.pm | |
parent | 376ba1921f031e002f615f443873b96f92fb85f5 (diff) | |
download | samba-cd3c6c3cc7b22ab38b9f53276891ad828831a38e.tar.gz samba-cd3c6c3cc7b22ab38b9f53276891ad828831a38e.tar.bz2 samba-cd3c6c3cc7b22ab38b9f53276891ad828831a38e.zip |
* added a 'lstring' type for spoolss
* added some notes on type equivalents in NOTES.txt
(This used to be commit a44d952fcb7ebf85d3072b622e5656dcf25cfbb0)
Diffstat (limited to 'source4/build/pidl/util.pm')
-rw-r--r-- | source4/build/pidl/util.pm | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/source4/build/pidl/util.pm b/source4/build/pidl/util.pm index c18fe031f9..192d56316a 100644 --- a/source4/build/pidl/util.pm +++ b/source4/build/pidl/util.pm @@ -329,10 +329,9 @@ sub c_pull_prefix($) return "&"; } - if ($e->{TYPE} =~ "unistr.*") { - return "&"; - } - if ($e->{TYPE} =~ "nstring.*") { + if ($e->{TYPE} =~ "unistr.*" || + $e->{TYPE} =~ "nstring.*" || + $e->{TYPE} =~ "lstring.*") { return "&"; } |