plugins/simple.c

changeset 1047
783f8520d9a0
parent 110
ca79cce0ea62
child 1489
4465cf08b9b0
equal deleted inserted replaced
1046:3272d5ed850c 1047:783f8520d9a0
1 #define GAIM_PLUGINS 1 #define GAIM_PLUGINS
2 2
3 #include <stdio.h> 3 #include <stdio.h>
4 #include "gaim.h" 4 #include "gaim.h"
5 5
6 static void *handle = NULL; 6 static GModule *handle = NULL;
7 7
8 void gaim_plugin_init(void *h) { 8 char *gaim_plugin_init(GModule *h) {
9 printf("plugin loaded.\n"); 9 printf("plugin loaded.\n");
10 handle = h; 10 handle = h;
11 } 11 }
12 12
13 void gaim_plugin_remove() { 13 void gaim_plugin_remove() {

mercurial