Skip to content

Commit b420e96

Browse files
committed
Use the variables method instead of the deprecated vars method
1 parent a19c1ea commit b420e96

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pygccxml/binary_parsers/parsers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ def merge(self, smbl):
318318
f.calling_convention = CCTS.CDECL
319319
return decorated, f
320320
except self.global_ns.declaration_not_found_t:
321-
v = self.global_ns.vars(
321+
v = self.global_ns.variables(
322322
decorated,
323323
allow_empty=True,
324324
recursive=False)
@@ -407,7 +407,7 @@ def merge(self, smbl):
407407
f.calling_convention = CCTS.CDECL
408408
return decorated, f
409409
except self.global_ns.declaration_not_found_t:
410-
v = self.global_ns.vars(
410+
v = self.global_ns.variables(
411411
decorated,
412412
allow_empty=True,
413413
recursive=False)

0 commit comments

Comments
 (0)