Tools and libraries to glue C/C++ APIs to high-level languages
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
triton bcf9625b03 Added needed patches for Clang. 13 years ago
examples Apply Miguel's patch to fix the build 14 years ago
patches Added needed patches for Clang. 13 years ago
src Added a bridge project containing the managed files bridging the native Clang parser. 13 years ago
tests Move qt into examples directory and don't build examples by default. Fix tests build 14 years ago
.gitignore Fix wrong directory case in makefile. Fix building from monodevelop. Update gitignore 14 years ago
LICENSE Add license and license headers 15 years ago
README Sexy new name, cxxi 14 years ago
cxxi.sln Sexy new name, cxxi 14 years ago

README

Directory structure
-------------------

src/
Mono.Cxxi
The runtime library
generator
The binding generator
qt
Auto generated Qt bindings + test program

tests/
Regression tests

examples/
Hello
Small, Hello, World! example

Inlining
--------

Inline methods are mapped to a shared library name libFoo-inline.so where libFoo.so is the
original shared library we are binding to. This library should be compiled using gcc's
-fkeep-inline-functions option:

g++ `pkg-config --cflags QtCore QtGui` --shared -fPIC -o libQtGui-inline.so -fkeep-inline-functions qt-gui.cpp `pkg-config --libs QtCore QtGui`