Mercurial > pidgin.yaz
comparison plugins/ChangeLog @ 398:59d97cd251ff
[gaim-migrate @ 408]
this better work
committer: Tailor Script <tailor@pidgin.im>
| author | Eric Warmenhoven <eric@warmenhoven.org> |
|---|---|
| date | Mon, 12 Jun 2000 13:59:03 +0000 |
| parents | f73dc7d32ede |
| children | 3d94cc1dc424 |
comparison
equal
deleted
inserted
replaced
| 397:0b5ecac8aa54 | 398:59d97cd251ff |
|---|---|
| 7 big thing that was missing. Please note that I was nice and decided to | 7 big thing that was missing. Please note that I was nice and decided to |
| 8 tack these extra events onto the end of the enum, which means that | 8 tack these extra events onto the end of the enum, which means that |
| 9 plugins do not have to be recompiled in order for them to still work. | 9 plugins do not have to be recompiled in order for them to still work. |
| 10 | 10 |
| 11 The big thing to note is that gaim_plugin_init no longer returns void, | 11 The big thing to note is that gaim_plugin_init no longer returns void, |
| 12 but int. If it returns 1, gaim interprets this as there being no | 12 but int. If it returns 0+, gaim interprets this as there being no |
| 13 error, and continues with loading as normal. (This should be backwards- | 13 error, and continues with loading as normal. (This should be backwards- |
| 14 compatible: returning 1 is the equivalent of returning void.) If it | 14 compatible: returning 0/1 is the equivalent of returning void.) If it |
| 15 returns a number other than 1, there was an error loading detected by | 15 returns a number less than 0, there was an error loading detected by |
| 16 the plugin. At that point, gaim will try to clean things up by removing | 16 the plugin. At that point, gaim will try to clean things up by removing |
| 17 any callbacks that have been added by the plugin. It will then try to | 17 any callbacks that have been added by the plugin. It will then try to |
| 18 call the plugin's gaim_plugin_error function, if there is one. The | 18 call the plugin's gaim_plugin_error function, if there is one. The |
| 19 function should take an int (the int returned by gaim_plugin_init) and | 19 function should take an int (the int returned by gaim_plugin_init) and |
| 20 return a char*. If the char* is not NULL, it is displayed by gaim as an | 20 return a char*. If the char* is not NULL, it is displayed by gaim as an |
