Skip to content

Commit 487ee95

Browse files
vchuravyViralBShah
authored andcommitted
fix fortran ccall example (#32784)
1 parent ca10039 commit 487ee95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/src/manual/calling-c-and-fortran-code.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ checks and is only meant to improve readability of the call.
463463
```julia
464464
str1 = "foo"
465465
str2 = "bar"
466-
ccall(:test, Void, (Ptr{UInt8}, Ptr{UInt8}, Csize_t, Csize_t),
466+
ccall(:test, Cvoid, (Ptr{UInt8}, Ptr{UInt8}, Csize_t, Csize_t),
467467
str1, str2, sizeof(str1), sizeof(str2))
468468
```
469469

0 commit comments

Comments
 (0)