Skip to content

Commit

Permalink
improve strucuture section of interoperability documentations
Browse files Browse the repository at this point in the history
  • Loading branch information
mertcandav committed Aug 11, 2023
1 parent 60e56b9 commit 0d0a679
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/cpp/interoperability/structures.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ cpp struct my_struct {
```

::: warning
Your compiler will not automatically initialize with default value to fields that are not assigned in the struct literal for C++ linked structs.
- Your compiler will not automatically initialize with default value to fields that are not assigned in the struct literal for C++ linked structs.
- If the linked structures have a constructor, the generated IR will have compilation errors.
:::

### C++ Structures and Typedef C Structures
Expand Down

0 comments on commit 0d0a679

Please sign in to comment.