From: Stefan Metzmacher Date: Thu, 6 Aug 2026 11:00:35 +0000 (+0200) Subject: pidl: allow embedded ref pointers for unions X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae64dc0bdf776c84c85ccc26e11e1fabe1f04785;p=thirdparty%2Fsamba.git pidl: allow embedded ref pointers for unions The support itself was added in this commit: commit e90c904a5f9b3b10a2e304be3a532ceb83424cb5 Author: Stefan Metzmacher Date: Sat Mar 12 08:29:54 2005 +0000 r5764: add support for embedded ref pointers metze (This used to be commit 112043b1809a96b1a39ade71ea2885c0d792c79f) Signed-off-by: Stefan Metzmacher Reviewed-by: Ralph Boehme --- diff --git a/pidl/lib/Parse/Pidl/NDR.pm b/pidl/lib/Parse/Pidl/NDR.pm index 3cb72aa3e9a..3bf082d3ec6 100644 --- a/pidl/lib/Parse/Pidl/NDR.pm +++ b/pidl/lib/Parse/Pidl/NDR.pm @@ -1374,11 +1374,6 @@ sub ValidUnion($) fatal($e, "Union member $e->{NAME} must have default or case property"); } - if (has_property($e, "ref")) { - fatal($e, el_name($e) . ": embedded ref pointers are not supported yet\n"); - } - - ValidElement($e); } }