Skip to content

Commit

Permalink
list at-ccall in docs, fix docstring (JuliaLang#36781)
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffBezanson committed Jul 24, 2020
1 parent d81f044 commit b7af3a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion base/c.jl
Original file line number Diff line number Diff line change
Expand Up @@ -681,7 +681,7 @@ with a Julia variable named `s`. See also `ccall`.
Varargs are supported with the following convention:
@ccall sprintf("%s = %d"::Cstring ; "foo"::Cstring, foo::Cint)::Cint
@ccall printf("%s = %d"::Cstring ; "foo"::Cstring, foo::Cint)::Cint
The semicolon is used to separate required arguments (of which there
must be at least one) from variadic arguments.
Expand Down
1 change: 1 addition & 0 deletions doc/src/base/c.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# C Interface

```@docs
@ccall
ccall
Core.Intrinsics.cglobal
Base.@cfunction
Expand Down

0 comments on commit b7af3a1

Please sign in to comment.