cpp_weekly icon indicating copy to clipboard operation
cpp_weekly copied to clipboard

Handling C++ exceptions in C wrappers

Open fsimonis opened this issue 2 years ago • 0 comments

Channel

C++Weekly

Topics

You develop a C++ library and want to make it usable from other programming languages. Most languages offer a way to write extensions in C, hence a common practise is to write a C wrapper for your C++ library. This can then be used to implement other language extensions (go, python, julia, ...)

How do we handle C++ exceptions on this first boundary towards C?

Length

~10 minutes

fsimonis avatar Aug 04 '22 09:08 fsimonis