Skip to content

Commit 73d8ef2

Browse files
authored
docs: fix error code for sample (#124)
1 parent 64bc383 commit 73d8ef2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/developer-guides/bindings/writing-a-vapi-manually/10-00-awkward-situations/10-01-array-lengths.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,6 @@ private void _get_data (out array_with_length a);
3737
public foo[] get_data () {
3838
array_with_length temp;
3939
_get_data (out temp);
40-
return (owned) a.data;
40+
return (owned) temp.data;
4141
}
4242
```

0 commit comments

Comments
 (0)