Mercurial > pidgin
diff plugins/SIGNALS @ 1392:dc6ba774bfc5
[gaim-migrate @ 1402]
erg
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Sun, 07 Jan 2001 20:39:03 +0000 |
parents | 4927ce25d8cc |
children | 96e93119268d |
line wrap: on
line diff
--- a/plugins/SIGNALS Sun Jan 07 19:55:08 2001 +0000 +++ b/plugins/SIGNALS Sun Jan 07 20:39:03 2001 +0000 @@ -97,8 +97,11 @@ 'text' is the actual strict text (with HTML tags and all) of the message you're sending. - Note that you can modify outgoing text. (You are _not_ encouraged to - do so ;-) .) + Note that you can modify outgoing text. The **text points to a g_malloc'd + data chunk that contains the text. If your plugin changes it, it should + either not add length to the string, or g_free *text and g_malloc a new + segment. Since plugins can modify this, you should not try and remember it + in your plugin. event_buddy_signon: struct gaim_connection *gc, char *who @@ -198,6 +201,8 @@ Be aware that you receive messages you send (as noted above). This event will be called before you actually send the message though. + The **text pointer behaves the same as the **text pointer for the + event_im_send event above; so read the note about it there. event_warned: char *who, int level