C++ interop framework
Перейти к файлу
Alex Corrado fb85e5a3ed Experimental support for initing the native vtptr ourselves (enable with -define:INIT_NATIVE_VTABLES)
Doing this ourselves instead of depending on the C++ ctor to do it will allow us to instantiate classes that have vtables and do not explicitly define any constructors (thus only having the C++ implicitly-defined default constructor, which isn't exported as a symbol in the lib).
2011-12-05 01:10:21 -05:00
examples Clean up makefiles a bit. Add pkg-config macros needed to build on Mac 2011-07-06 00:20:23 -04:00
m4 Clean up makefiles a bit. Add pkg-config macros needed to build on Mac 2011-07-06 00:20:23 -04:00
qt Commit last qt bindings work from the summer 2011-11-15 15:21:25 -05:00
src Experimental support for initing the native vtptr ourselves (enable with -define:INIT_NATIVE_VTABLES) 2011-12-05 01:10:21 -05:00
tests Mangling support for namespaces; generate MangleAs attribute on interfaces 2011-08-22 01:10:54 -04:00
.gitignore Fix wrong directory case in makefile. Fix building from monodevelop. Update gitignore 2011-07-06 00:20:23 -04:00
LICENSE Add license and license headers 2011-03-08 22:21:17 +00:00
Makefile.am Hack up the build 2011-08-15 03:19:44 -04:00
Makefile.include reorganize 2010-12-28 17:18:43 +00:00
README Sexy new name, cxxi 2011-06-28 04:46:25 -04:00
autogen.sh Hack up the build 2011-08-15 03:19:44 -04:00
configure.ac Hack up the build 2011-08-15 03:19:44 -04:00
cxxi.sln Sexy new name, cxxi 2011-06-28 04:46:25 -04:00

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`