[Mono-dev] C# Binding for elektra

Avery Pennarun apenwarr at gmail.com
Tue Aug 25 14:43:39 EDT 2009


On Tue, Aug 25, 2009 at 6:37 PM, Vladimir Giszpenc<vgiszpenc at dsci.com> wrote:
> Is someone planning to write a .Net binding to Elektra (1)?  Like GConf,
> Elektra is a place to put configuration data.  It is different in that
> it would be accessible even when you want to run without X and Gtk (and
> the many other GConf dependencies).  I need this for some buildbot
> testing of my app.
>
> Assuming no one is looking at this, is the general recommendation to
>
> 1.  Do it by hand?
> 2.  Use SWIG to do everything?
> 3.  Use SWIG some special way?
> 4.  Other?
>
> Are there any tutorials/howtos or other references to write a good
> binding?

Since elektra has a simple C api, you should be able to do it pretty
easily with just p/invoke:
http://www.mono-project.com/Interop_with_Native_Libraries

Have fun,

Avery


More information about the Mono-devel-list mailing list