# What does \`Base.@ccallable\` do?

**URL:** <https://discourse.julialang.org/t/what-does-base-ccallable-do/71194>\
**Category:** General Usage\
**Tags:** macros, c\
**Created:** [November 9, 2021, 9:25am UTC](https://discourse.julialang.org/t/what-does-base-ccallable-do/71194 "2021-11-09T09:25:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cjdoris](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/cjdoris/32/213133_2.png) [@cjdoris](https://discourse.julialang.org/u/cjdoris)\
**Post date:** [November 9, 2021, 9:25am UTC](https://discourse.julialang.org/t/what-does-base-ccallable-do/71194/1 "2021-11-09T09:25:52Z")

</div>

It’s mentioned in the docs for PackageCompiler ([Apps · PackageCompiler](https://julialang.github.io/PackageCompiler.jl/stable/apps.html#Creating-an-app)) but is not itself documented.

---

<div class="post-metadata">

**Author:** ![fredrikekre](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fredrikekre/32/1688_2.png) [@fredrikekre](https://discourse.julialang.org/u/fredrikekre)\
**Post date:** [November 9, 2021, 10:40am UTC](https://discourse.julialang.org/t/what-does-base-ccallable-do/71194/2 "2021-11-09T10:40:43Z")

</div>

See [https://github.com/JuliaLang/julia/pull/42945](https://github.com/JuliaLang/julia/pull/42945)

---

<div class="post-metadata">

**Author:** ![ellocco](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ellocco/32/31331_2.png) [@ellocco](https://discourse.julialang.org/u/ellocco)\
**Post date:** [February 9, 2023, 7:06pm UTC](https://discourse.julialang.org/t/what-does-base-ccallable-do/71194/3 "2023-02-09T19:06:12Z")

</div>

Here some more on this topic:  
[Base.@ccallable](https://julialang.github.io/PackageCompiler.jl/dev/devdocs/binaries_part_2.html)
