]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
pidl: allow embedded ref pointers for unions
authorStefan Metzmacher <metze@samba.org>
Thu, 6 Aug 2026 11:00:35 +0000 (13:00 +0200)
committerStefan Metzmacher <metze@samba.org>
Thu, 6 Aug 2026 14:22:45 +0000 (14:22 +0000)
The support itself was added in this commit:

 commit e90c904a5f9b3b10a2e304be3a532ceb83424cb5
 Author: Stefan Metzmacher <metze@samba.org>
 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 <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
pidl/lib/Parse/Pidl/NDR.pm

index 3cb72aa3e9a06563dcd2aba8c49b505d2e24362b..3bf082d3ec65c02c32aecd89f77a272825e0486f 100644 (file)
@@ -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);
        }
 }