From 46e5fda0ad956c1b6524d89b9317b8ad35043c69 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 30 May 2005 18:40:36 +0000 Subject: r7119: the content of a subcontext can contain deferred data, but for the caller a subcontext is like a scalar... the first point is more important and is fixed with this commit, however it would be nice if we could make them look like scalars to the callers later metze (This used to be commit 8a16aa6401ff57624e35b785b8f6a6acda56ea1f) --- source4/build/pidl/ndr.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4') diff --git a/source4/build/pidl/ndr.pm b/source4/build/pidl/ndr.pm index 09b2f0f257..876fbc247c 100644 --- a/source4/build/pidl/ndr.pm +++ b/source4/build/pidl/ndr.pm @@ -179,7 +179,7 @@ sub can_contain_deferred return 1 if ($e->{POINTERS}); return 0 if (typelist::is_scalar($e->{TYPE})); - return 0 if (defined(util::has_property($e, "subcontext"))); + return 1 if (defined(util::has_property($e, "subcontext"))); return 1 unless (typelist::hasType($e->{TYPE})); # assume the worst my $type = typelist::getType($e->{TYPE}); -- cgit