From 98a3105748af6b48209d3622c1e4199dac0940ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20P=C3=A9rez-Su=C3=A1rez?= Date: Tue, 2 Oct 2018 00:04:36 +0100 Subject: [PATCH] tiny formatting fix on docs C and Julia code were inside the same code block --- doc/src/manual/calling-c-and-fortran-code.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/src/manual/calling-c-and-fortran-code.md b/doc/src/manual/calling-c-and-fortran-code.md index 6155952a813a4..58f37be89dd2f 100644 --- a/doc/src/manual/calling-c-and-fortran-code.md +++ b/doc/src/manual/calling-c-and-fortran-code.md @@ -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