This file has been truncated. show original
CppSharp Users Manual
# 1. Introduction
## What does it do?
This tool allows you to generate .NET bindings that wrap C/C++ code allowing
interoperability with managed languages. This can be useful if you have an
existing native codebase and want to add scripting support, or want to consume
an existing native library in your managed code.
## Why reinvent the wheel?
There are not many automated binding tools around, the only real alternative is
SWIG. So how is it different from SWIG?
* Cleaner bindings
* No need to generate a C layer to interop with C++.
* Based on an actual C++ parser (Clang) so very accurate.
* Understands C++ at the ABI (application binary interface) level