# Using Swift libraries in other languages

**URL:** <https://forums.swift.org/t/using-swift-libraries-in-other-languages/36823>\
**Category:** Using Swift\
**Tags:** c-interop, interoperability\
**Created:** [May 24, 2020, 11:24am UTC](https://forums.swift.org/t/using-swift-libraries-in-other-languages/36823 "2020-05-24T11:24:23Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Max\_Desiatov](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/max_desiatov/32/20654_2.png) [@Max\_Desiatov](https://forums.swift.org/u/Max_Desiatov)\
**Post date:** [May 24, 2020, 12:25pm UTC](https://forums.swift.org/t/using-swift-libraries-in-other-languages/36823/2 "2020-05-24T12:25:39Z")

</div>

Hey @JK_Kross, did you try using the `@_cdecl` attribute as described in "[Best way to call a Swift function from C?](https://forums.swift.org/t/best-way-to-call-a-swift-function-from-c/9829)"?

---

_[View the full topic](https://forums.swift.org/t/using-swift-libraries-in-other-languages/36823)._
