# Is there a way to emit C/C++ header?

**URL:** <https://forums.swift.org/t/is-there-a-way-to-emit-c-c-header/71621>\
**Category:** Using Swift\
**Tags:** c-interop\
**Created:** [May 5, 2024, 2:39am UTC](https://forums.swift.org/t/is-there-a-way-to-emit-c-c-header/71621 "2024-05-05T02:39:04Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![wadetregaskis](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/wadetregaskis/32/8494_2.png) [@wadetregaskis](https://forums.swift.org/u/wadetregaskis)\
**Post date:** [May 5, 2024, 3:51am UTC](https://forums.swift.org/t/is-there-a-way-to-emit-c-c-header/71621/2 "2024-05-05T03:51:09Z")

</div>

I've been wondering this too, a bit. It'd be nice to be able (eventually) to produce good-quality C++ APIs atop Swift code. I like to think it opens some doors for using Swift for core implementations while supporting C++ users, rather than the other way around.

---

_[View the full topic](https://forums.swift.org/t/is-there-a-way-to-emit-c-c-header/71621)._
