Wed, 20 May 2020 11:33:10 +0100
Make PurplePluginProtocolInfo definitions consistent
Since we can't use C99 structure initialisers, we have to manually add
new NULL fields to all protocols whenever we extend the structure.
Make it slightly easier to script that, by making the current last
field (get_cb_alias) consistent in all cases. In particular, there's
no reason *not* to have the trailing comma, as most already do.
Now I can add a new field to the PRPL by doing something like this...
PROTOFILES=`grep -rl '[A-Za-z_][A-Za-z0-9_]*,[[:space:]]*/\* get_cb_alias \*/' libpurple/protocols/ `
sed '/\/\* get_cb_alias \*\//{p;s/[A-Za-z_][A-Za-
|
15998
294277e634fc
More gaim->whatever isms
Mark Doliner <markdoliner@pidgin.im>
parents:
14567
diff
changeset
|
1 | For information on writing a plugin for Purple, Pidgin or Finch, go |
|
28289
ae4cf144214c
Wrap this file more consistently.
Richard Laager <rlaager@pidgin.im>
parents:
16238
diff
changeset
|
2 | http://developer.pidgin.im and click on API. From there, see the |
|
ae4cf144214c
Wrap this file more consistently.
Richard Laager <rlaager@pidgin.im>
parents:
16238
diff
changeset
|
3 | HOWTOs in the "Related Pages" section. |
| 93 | 4 | |
|
14566
373d653d0733
[gaim-migrate @ 17223]
Mark Doliner <markdoliner@pidgin.im>
parents:
14253
diff
changeset
|
5 | You can also generate this documentation locally by installing |
|
15998
294277e634fc
More gaim->whatever isms
Mark Doliner <markdoliner@pidgin.im>
parents:
14567
diff
changeset
|
6 | doxygen and graphviz dot, then running "make docs" in the |
|
14566
373d653d0733
[gaim-migrate @ 17223]
Mark Doliner <markdoliner@pidgin.im>
parents:
14253
diff
changeset
|
7 | source tree. The documentation will be in the docs/html directory. |