Mercurial > pidgin.yaz
annotate PLUGIN_HOWTO @ 21621:b2aa68cdc8b9
I had used memcpy to copy the struct tm to where the caller wants it, but
this assumes all callers provide their own allocated struct, which is not
necessarily always the case.
If callers want to keep the values of this struct tm across multiple calls
to purple_str_to_time, they had better copy it themselves. (which is
essentially the same as it was before when we were returning the pointer
to the struct as returned by localtime(), which is also statically
allocated)
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Fri, 23 Nov 2007 19:41:44 +0000 |
parents | 83ec0b408926 |
children | db5a58aabe38 |
rev | line source |
---|---|
15937 | 1 For information on writing a plugin for Purple, Pidgin or Finch, go |
16176
83ec0b408926
Beat some older documentation into submission.
Richard Laager <rlaager@wiktel.com>
parents:
15937
diff
changeset
|
2 http://developer.pidgin.im and click on API. From there, see the HOWTOs in the |
83ec0b408926
Beat some older documentation into submission.
Richard Laager <rlaager@wiktel.com>
parents:
15937
diff
changeset
|
3 "Related Pages" section. |
14505 | 4 |
5 You can also generate this documentation locally by installing | |
15937 | 6 doxygen and graphviz dot, then running "make docs" in the |
14505 | 7 source tree. The documentation will be in the docs/html directory. |