comparison plugins/mono/loader/mono-helper.h @ 12323:fc464a0abccc

[gaim-migrate @ 14627] Function prototypes need to be of the form foo(void); instead of foo(); for function that don't take any arguments. This allows the compiler to detect mistakes were someone passes arguments to such a function. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Sun, 04 Dec 2005 18:19:56 +0000
parents ecd33ffb0b0a
children
comparison
equal deleted inserted replaced
12322:c7ae1fd0827d 12323:fc464a0abccc
24 MonoMethod *destroy; 24 MonoMethod *destroy;
25 25
26 GList *signal_data; 26 GList *signal_data;
27 } GaimMonoPlugin; 27 } GaimMonoPlugin;
28 28
29 gboolean ml_init(); 29 gboolean ml_init(void);
30 30
31 void ml_uninit(); 31 void ml_uninit(void);
32 32
33 MonoObject* ml_invoke(MonoMethod *method, void *obj, void **params); 33 MonoObject* ml_invoke(MonoMethod *method, void *obj, void **params);
34 34
35 MonoObject* ml_delegate_invoke(MonoObject *method, void **params); 35 MonoObject* ml_delegate_invoke(MonoObject *method, void **params);
36 36
54 54
55 MonoObject* ml_create_api_object(char *class_name); 55 MonoObject* ml_create_api_object(char *class_name);
56 56
57 void ml_set_api_image(MonoImage *image); 57 void ml_set_api_image(MonoImage *image);
58 58
59 MonoImage* ml_get_api_image(); 59 MonoImage* ml_get_api_image(void);
60 60
61 /* hash table stuff; probably don't need it anymore */ 61 /* hash table stuff; probably don't need it anymore */
62 62
63 void ml_add_plugin(GaimMonoPlugin *plugin); 63 void ml_add_plugin(GaimMonoPlugin *plugin);
64 64
66 66
67 gpointer ml_find_plugin(GaimMonoPlugin *plugin); 67 gpointer ml_find_plugin(GaimMonoPlugin *plugin);
68 68
69 gpointer ml_find_plugin_by_class(MonoClass *klass); 69 gpointer ml_find_plugin_by_class(MonoClass *klass);
70 70
71 GHashTable* ml_get_plugin_hash(); 71 GHashTable* ml_get_plugin_hash(void);
72 72
73 #endif 73 #endif