mirror of https://github.com/ecmwf/eccodes.git
Fix breakage in last commit
This commit is contained in:
parent
8f284dee5f
commit
3a1448df7e
|
@ -385,6 +385,8 @@ class FunctionConverter:
|
|||
if(match_end < len(line)):
|
||||
# Recurse, transforming the remainder, then apply here...
|
||||
remainder = self.update_cstruct_access(line[match_end:], depth+1)
|
||||
else:
|
||||
remainder = ""
|
||||
|
||||
cppstruct_arg = self.transform_cstruct_arg(cstruct_arg)
|
||||
assert cppstruct_arg, f"Could not transform struct {cstruct_arg.name} to C++"
|
||||
|
|
|
@ -73,7 +73,7 @@ class MethodConverter(FunctionConverter):
|
|||
if self._transforms.ctype_of(cstruct_arg.name) == "grib_handle*" or cstruct_arg.name == "grib_handle_of_accessor(a)":
|
||||
if cstruct_member.name == "buffer":
|
||||
|
||||
debug.line("DEBUG", f"buffer: cstruct_arg=[{cstruct_arg.as_string()}]")
|
||||
debug.line("transform_cstruct_arg", f"buffer: cstruct_arg=[{cstruct_arg.as_string()}]")
|
||||
|
||||
cppstruct_arg = struct_arg.StructArg("", "buffer_", "" )
|
||||
if cstruct_member.member and cstruct_member.member.name == "data":
|
||||
|
|
Loading…
Reference in New Issue