diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2005-06-17 21:40:42 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:18:23 -0500 |
commit | 82dfe0b29b4d090a20e0bc07a22ee47a5f38330a (patch) | |
tree | 943ea812dc54e9c40249117fceab250d6f5ecf67 /source4/build/pidl/ndr_header.pm | |
parent | cd39847e815bea73b6bcae63541dd36b1715aa6c (diff) | |
download | samba-82dfe0b29b4d090a20e0bc07a22ee47a5f38330a.tar.gz samba-82dfe0b29b4d090a20e0bc07a22ee47a5f38330a.tar.bz2 samba-82dfe0b29b4d090a20e0bc07a22ee47a5f38330a.zip |
r7702: Implement [charset()] attribute.
(This used to be commit 7012e10bb6252a7e602e80f05c914a783610088c)
Diffstat (limited to 'source4/build/pidl/ndr_header.pm')
-rw-r--r-- | source4/build/pidl/ndr_header.pm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source4/build/pidl/ndr_header.pm b/source4/build/pidl/ndr_header.pm index 04cd57ad7f..6269320115 100644 --- a/source4/build/pidl/ndr_header.pm +++ b/source4/build/pidl/ndr_header.pm @@ -213,7 +213,11 @@ sub HeaderType($$$) return; } - pidl typelist::mapType($e->{TYPE}); + if (util::has_property($e, "charset")) { + pidl "char"; + } else { + pidl typelist::mapType($e->{TYPE}); + } } ##################################################################### |