[Mono-dev] MonoBind - C++ bindings library [include Mono Patch]
bratsche at gnome.org
Wed Mar 28 19:20:19 EDT 2007
This is fantastic! I had just been working on my own C++ binding in the
spirit of Boost-Python, but I think mine is not quite as far along as
yours so I'll gladly drop it and use yours. Can you please tell us what
the license is for yours though? It doesn't seem to say on the webpage
or in the source files.
On Wed, 2007-03-28 at 23:24 +0200, virgile.bello at free.fr wrote:
> As I worked on a C++ binding library for mono, very close to
> boost::python/luabind syntax, I had few minor modification to do in Mono
> sources. The patch is attached.
> I was wondering if it was possible to include them in mono.
> The missing thing was the possibility to bind a pointer argument to an internal
> call. It is required in order to make all the C++ wrapper/proxy statically
> linked through template metaprogramming.
> (The only other possibility of doing it, using pointer to function member
> removed the possibility to deduce type of function arguments, resulting in a
> heavy syntax when declaring exported class in C++).
> You can check the binding library at : http://dev.kalimdor.org/entropia/node/10
> It's still in development (like there is few non trivial to fix memory leak,
> i.e. the wrapping code that should stay alive when mono is running), but right
> now it works fine at exporting C++ class to C# and C# class to C++.
> Later, I would like the registration code to auto-generate C# header.
> By the way, I still have a mono debugger for embedded mono (more or less in
> pause, but if lot of people are interested in it, I could start working on it
> I think with all that Mono could be a really great scripting language, offering
> blazing speed compared to all the usual non-JIT script languages, with all the
> advantages of C#.
> Virgile Bello
> _______________________________________________ Mono-devel-list mailing list Mono-devel-list at lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
More information about the Mono-devel-list