summaryrefslogtreecommitdiff
path: root/source4/pidl/lib/Parse/Pidl/Typelist.pm
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-05-13 22:03:44 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:06:01 -0500
commit8d6249814f45e95a9941dfc7d6d3d2a93811efb0 (patch)
tree73a3f7d8c0d05a59606cd1e9ae6ac7f05798c9c4 /source4/pidl/lib/Parse/Pidl/Typelist.pm
parentaa533f3ea0837f531d270ca2e0a9c4aa389fd349 (diff)
downloadsamba-8d6249814f45e95a9941dfc7d6d3d2a93811efb0.tar.gz
samba-8d6249814f45e95a9941dfc7d6d3d2a93811efb0.tar.bz2
samba-8d6249814f45e95a9941dfc7d6d3d2a93811efb0.zip
r15587: Generate stubs for the SWIG functions
(This used to be commit 746d0a7fa7a43685e6ebb4877bb5459101e51ed1)
Diffstat (limited to 'source4/pidl/lib/Parse/Pidl/Typelist.pm')
-rw-r--r--source4/pidl/lib/Parse/Pidl/Typelist.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/pidl/lib/Parse/Pidl/Typelist.pm b/source4/pidl/lib/Parse/Pidl/Typelist.pm
index cf68345517..ff8f18ee48 100644
--- a/source4/pidl/lib/Parse/Pidl/Typelist.pm
+++ b/source4/pidl/lib/Parse/Pidl/Typelist.pm
@@ -194,7 +194,7 @@ sub bitmap_type_fn($)
sub mapType($)
{
my $t = shift;
- die("Undef passed to mapType") unless defined($t);
+ return "void" unless defined($t);
my $dt;
unless ($dt or ($dt = getType($t))) {