mirror of
https://github.com/samba-team/samba.git
synced 2025-02-02 09:47:23 +03:00
pidl:NDR: [in,out,string] doesn't need to pointers
metze
This commit is contained in:
parent
aa3b75ad1f
commit
94faf0ccbe
@ -104,7 +104,7 @@ sub GetElementLevelTable($$)
|
||||
if (has_property($e, "out")) {
|
||||
my $needptrs = 1;
|
||||
|
||||
if (has_property($e, "string")) { $needptrs++; }
|
||||
if (has_property($e, "string") and not has_property($e, "in")) { $needptrs++; }
|
||||
if ($#bracket_array >= 0) { $needptrs = 0; }
|
||||
|
||||
warning($e, "[out] argument `$e->{NAME}' not a pointer") if ($needptrs > $e->{POINTERS});
|
||||
|
Loading…
x
Reference in New Issue
Block a user