Skip to content

Commit

Permalink
tiny formatting fix on docs (#29463)
Browse files Browse the repository at this point in the history
C and Julia code were inside the same code block

(cherry picked from commit 39117c9)
  • Loading branch information
dpshelio authored and KristofferC committed Oct 6, 2018
1 parent f362fb5 commit 80a9530
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions doc/src/manual/calling-c-and-fortran-code.md
Original file line number Diff line number Diff line change
Expand Up @@ -486,14 +486,15 @@ the Julia field to be only of that type.

Arrays of parameters can be expressed with `NTuple`:

```
in C:
```c
struct B {
int A[3];
};
b_a_2 = B.A[2];
```
in Julia:
```julia
struct B
A::NTuple{3, CInt}
end
Expand Down

0 comments on commit 80a9530

Please sign in to comment.