Fri, 14 Oct 2005 05:00:17 +0000
[gaim-migrate @ 13945]
Thanks to the hard work of Eoin 'ecoffey' Coffey, here is the mono plugin loader.
It needs a lot of api wrapping a bit more autotools loving, but with the basic API that is wrapped, it works quite well.
committer: Gary Kramlich <grim@reaperworld.com>
#ifndef _GAIM_MONO_LOADER_GLUE_H_ #define _GAIM_MONO_LOADER_GLUE_H_ #include <mono/jit/jit.h> #include <mono/metadata/object.h> #include <mono/metadata/environment.h> #include <mono/metadata/assembly.h> void gaim_debug_glue(int type, MonoString *cat, MonoString *str); int gaim_signal_connect_glue(MonoObject *h, MonoObject *plugin, MonoString *signal, MonoObject *func); MonoObject* gaim_blist_get_handle_glue(void); MonoObject* gaim_blist_build_buddy_object(void* buddy); #endif