summaryrefslogtreecommitdiff
path: root/source4/pidl/lib/Parse/Pidl/Samba4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-01-13 01:35:06 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-01-14 19:53:04 +0100
commitf0916ef230b48e3140a4fca68f96ab33350bee93 (patch)
treee8547790c461b6e631674b96c5a4b2fd658789bc /source4/pidl/lib/Parse/Pidl/Samba4
parent375624ecf95a0aac6e29ce0c7dca35f239c9dd12 (diff)
downloadsamba-f0916ef230b48e3140a4fca68f96ab33350bee93.tar.gz
samba-f0916ef230b48e3140a4fca68f96ab33350bee93.tar.bz2
samba-f0916ef230b48e3140a4fca68f96ab33350bee93.zip
pidl/python: Remove references to DECLARE, which has been removed.
(This used to be commit 9a907567c8e0836b731e0ef01f8d097a33de21b0)
Diffstat (limited to 'source4/pidl/lib/Parse/Pidl/Samba4')
-rw-r--r--source4/pidl/lib/Parse/Pidl/Samba4/Python.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/pidl/lib/Parse/Pidl/Samba4/Python.pm b/source4/pidl/lib/Parse/Pidl/Samba4/Python.pm
index 2bf5f1528a..98e9ee9ec2 100644
--- a/source4/pidl/lib/Parse/Pidl/Samba4/Python.pm
+++ b/source4/pidl/lib/Parse/Pidl/Samba4/Python.pm
@@ -288,7 +288,7 @@ sub PythonType($$$)
my ($self, $d, $interface, $basename) = @_;
my $actual_ctype = $d;
- if ($actual_ctype->{TYPE} eq "TYPEDEF" or $actual_ctype->{TYPE} eq "DECLARE") {
+ if ($actual_ctype->{TYPE} eq "TYPEDEF") {
$actual_ctype = $actual_ctype->{DATA};
}
@@ -465,7 +465,7 @@ sub ConvertObjectFromPython($$$)
}
my $actual_ctype = $ctype;
- if ($ctype->{TYPE} eq "TYPEDEF" or $ctype->{TYPE} eq "DECLARE") {
+ if ($ctype->{TYPE} eq "TYPEDEF") {
$actual_ctype = $ctype->{DATA};
}
@@ -495,7 +495,7 @@ sub ConvertObjectToPython($$$)
}
my $actual_ctype = $ctype;
- if ($ctype->{TYPE} eq "TYPEDEF" or $ctype->{TYPE} eq "DECLARE") {
+ if ($ctype->{TYPE} eq "TYPEDEF") {
$actual_ctype = $ctype->{DATA};
}