summaryrefslogtreecommitdiff
path: root/source4/build/pidl/util.pm
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-05-27 14:01:22 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:17:07 -0500
commitaba7014e41b120e8c4bac5d5dab91655b46a2175 (patch)
tree0475f32f8cd5ee498f9863ac1687864048fbd0a7 /source4/build/pidl/util.pm
parent49791818610cecd877eb5b865cb6cefa90e92ba0 (diff)
downloadsamba-aba7014e41b120e8c4bac5d5dab91655b46a2175.tar.gz
samba-aba7014e41b120e8c4bac5d5dab91655b46a2175.tar.bz2
samba-aba7014e41b120e8c4bac5d5dab91655b46a2175.zip
r7022: Add support for parsing definitions of multi-dimension arrays.
This will also be required for supporting parsing pointers to arrays and arrays of pointers simultaneously. (This used to be commit a34f848b02a6e8284d62532a792a5136e846fe8f)
Diffstat (limited to 'source4/build/pidl/util.pm')
-rw-r--r--source4/build/pidl/util.pm15
1 files changed, 0 insertions, 15 deletions
diff --git a/source4/build/pidl/util.pm b/source4/build/pidl/util.pm
index 0037de8713..537714adf3 100644
--- a/source4/build/pidl/util.pm
+++ b/source4/build/pidl/util.pm
@@ -212,21 +212,6 @@ sub is_ref_struct($)
return 0;
}
-# determine the array size (size_is() or ARRAY_LEN)
-sub array_size($)
-{
- my $e = shift;
- my $size = has_property($e, "size_is");
- if ($size) {
- return $size;
- }
- $size = $e->{ARRAY_LEN};
- if ($size) {
- return $size;
- }
- return undef;
-}
-
# return 1 if the string is a C constant
sub is_constant($)
{