[Mono-dev] MonoBind - C++ bindings library [include Mono Patch]

virgile.bello at free.fr virgile.bello at free.fr
Wed Mar 28 19:40:43 EDT 2007


Thanks for your comments !
Yes you're right, I didn't put any license, but I will very likely put it with
an unrestrictive license, not sure of which one yet (BSD, zlib, LGPL, etc...).
And I should make a real project page for it if some people start using it or
contributing, that would look more serious.

Virgile

Quoting Cody Russell <bratsche at gnome.org>:

> 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.
>
> / Cody
>
> On Wed, 2007-03-28 at 23:24 +0200, virgile.bello at free.fr wrote:
> > Hello,
> >
> > 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
> > again).
> >
> > 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#.
> >
> > Sincerely,
> > 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 mailing list