diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2005-02-16 11:09:10 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:10:44 -0500 |
commit | a0667e11ae2c92850919a1568ca47fa83d29af6f (patch) | |
tree | 58fea153339373c6f629a0380a00690a17d6270a /source4/build/pidl/header.pm | |
parent | 97dcee677e4fda03bed2ace3151e329e340ca313 (diff) | |
download | samba-a0667e11ae2c92850919a1568ca47fa83d29af6f.tar.gz samba-a0667e11ae2c92850919a1568ca47fa83d29af6f.tar.bz2 samba-a0667e11ae2c92850919a1568ca47fa83d29af6f.zip |
r5417: Add wrapper function for typedefs hash rather then using the "our" keyword,
move pointer parsing to seperate function.
(This used to be commit ea872b9a2b9a51ba9f6c2842303d067e9e85d11a)
Diffstat (limited to 'source4/build/pidl/header.pm')
-rw-r--r-- | source4/build/pidl/header.pm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source4/build/pidl/header.pm b/source4/build/pidl/header.pm index c49f60ce8b..00321fef93 100644 --- a/source4/build/pidl/header.pm +++ b/source4/build/pidl/header.pm @@ -185,7 +185,10 @@ sub HeaderType($$$) return; } - my $dt = $NdrParser::typedefs{$e->{TYPE}}->{DATA}; + my $dt; + if (my $t = NdrParser::get_typedef($e->{TYPE})) { + $dt = $t->{DATA}; + } if ($data =~ "string") { pidl "const char *"; |