diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2005-08-20 21:54:45 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:34:13 -0500 |
commit | 449c6acd70221ca257eeb4b82de428760e089d59 (patch) | |
tree | 41ebc8710cb3ad9efa1972511e270eb2c0e4d529 /source4/build/pidl/Parse/Pidl/Samba/Header.pm | |
parent | 520139439ede489f94f32e4424526d9bb66fa597 (diff) | |
download | samba-449c6acd70221ca257eeb4b82de428760e089d59.tar.gz samba-449c6acd70221ca257eeb4b82de428760e089d59.tar.bz2 samba-449c6acd70221ca257eeb4b82de428760e089d59.zip |
r9433: - Update TODO & README
- Extend compatibility module (work towards being able to generate
Midl-compatible IDL files, pretty much just removing attributes
midl doesn't know such as value() and charset())
- Support charset() on fixed-size arrays of characters
(This used to be commit 43817eb0bd46aab10d1595ce008d8380565246f0)
Diffstat (limited to 'source4/build/pidl/Parse/Pidl/Samba/Header.pm')
-rw-r--r-- | source4/build/pidl/Parse/Pidl/Samba/Header.pm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source4/build/pidl/Parse/Pidl/Samba/Header.pm b/source4/build/pidl/Parse/Pidl/Samba/Header.pm index 928b35d4ca..ca67b7c09f 100644 --- a/source4/build/pidl/Parse/Pidl/Samba/Header.pm +++ b/source4/build/pidl/Parse/Pidl/Samba/Header.pm @@ -199,7 +199,11 @@ sub HeaderType($$$) } if (has_property($e, "charset")) { - pidl "const char"; + if ($e->{POINTERS} > 0) { + pidl "const char"; + } else { + pidl "char"; + } } else { pidl mapType($e->{TYPE}); } |