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.
 
 
 
 
 
Alex Corrado b8bba69a81 Correctly generate managed override trampolines for native subclass wrappers 14 years ago
examples Fix up build. 14 years ago
m4 reorganize 15 years ago
src Correctly generate managed override trampolines for native subclass wrappers 14 years ago
tests Add failing virtual dispatch tests 14 years ago
.gitignore indentation and cosmetic fixes, also .gitignore 15 years ago
CPPInterop.sln Remove old CodeDom-based Mono.VisualC.Code 14 years ago
LICENSE Add license and license headers 15 years ago
Makefile.am Fix up build. 14 years ago
Makefile.include reorganize 15 years ago
README Version 0.99.1 - "It's alive!" 15 years ago
autogen.sh reorganize 15 years ago
configure.ac Remove remaining build artifacts related to Mono.VisualC.Code 14 years ago

README

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

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

tests2/
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`