Mercurial > pidgin.yaz
view plugins/simple.c @ 5414:2d9f7d2e3558
[gaim-migrate @ 5790]
Removed faim_shortfunc, which was supposed to make 2 functions be
declared as inline. There was a patch saying this caused problems
with systems where inline was redefined to be something else in
config.h, and I would rather not have config.h included in libfaim
files.
I'm also think the speed difference between having inline and not
having it for these 2 functions is negligible, especially when not
compiling with -Oanything.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sat, 17 May 2003 18:41:02 +0000 |
parents | fc0441fbf159 |
children | 7d385de2f9cd |
line wrap: on
line source
#include "config.h" #include "gaim.h" static gboolean plugin_load(GaimPlugin *plugin) { gaim_debug(GAIM_DEBUG_INFO, "simple", "simple plugin loaded.\n"); return TRUE; } static gboolean plugin_unload(GaimPlugin *plugin) { gaim_debug(GAIM_DEBUG_INFO, "simple", "simple plugin unloaded.\n"); return TRUE; } static GaimPluginInfo info = { 2, /**< api_version */ GAIM_PLUGIN_STANDARD, /**< type */ NULL, /**< ui_requirement */ 0, /**< flags */ NULL, /**< dependencies */ GAIM_PRIORITY_DEFAULT, /**< priority */ NULL, /**< id */ N_("Simple Plugin"), /**< name */ VERSION, /**< version */ /** summary */ N_("Tests to see that most things are working."), /** description */ N_("Tests to see that most things are working."), "Eric Warmenhoven <eric@warmenhoven.org>", /**< author */ WEBSITE, /**< homepage */ plugin_load, /**< load */ plugin_unload, /**< unload */ NULL, /**< destroy */ NULL, /**< ui_info */ NULL /**< extra_info */ }; static void __init_plugin(GaimPlugin *plugin) { } GAIM_INIT_PLUGIN(simple, __init_plugin, info);