summaryrefslogtreecommitdiff
path: root/source4/build/pidl/needed.pm
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-01-05 00:09:29 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:08:18 -0500
commitb90c0850fc01574b89e1cd0da0af43879e7ba6d7 (patch)
tree33f3eb64e50c27ef85410c68990f89d2ea737b3c /source4/build/pidl/needed.pm
parent7588a01cb6d387440d778e3bd77225b287cf48bc (diff)
downloadsamba-b90c0850fc01574b89e1cd0da0af43879e7ba6d7.tar.gz
samba-b90c0850fc01574b89e1cd0da0af43879e7ba6d7.tar.bz2
samba-b90c0850fc01574b89e1cd0da0af43879e7ba6d7.zip
r4521: fixed up the handling of PROPERTIES elements after the change to support enum
(This used to be commit dee8eff2590be58c59b0db089fcca4af3e011c42)
Diffstat (limited to 'source4/build/pidl/needed.pm')
-rw-r--r--source4/build/pidl/needed.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/build/pidl/needed.pm b/source4/build/pidl/needed.pm
index 301b85e51c..f58d897cb3 100644
--- a/source4/build/pidl/needed.pm
+++ b/source4/build/pidl/needed.pm
@@ -26,13 +26,13 @@ sub NeededFunction($)
sub NeededTypedef($)
{
my $t = shift;
- if (util::has_property($t->{DATA}, "public")) {
+ if (util::has_property($t, "public")) {
$needed{"pull_$t->{NAME}"} = 1;
$needed{"push_$t->{NAME}"} = 1;
}
if ($t->{DATA}->{TYPE} eq "STRUCT") {
- if (util::has_property($t->{DATA}, "gensize")) {
+ if (util::has_property($t, "gensize")) {
$needed{"ndr_size_$t->{NAME}"} = 1;
}