~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin.h

  • Committer: Monty Taylor
  • Date: 2009-12-17 18:39:55 UTC
  • mto: (1241.12.9 out-of-tree)
  • mto: This revision was merged to the branch mainline in revision 1250.
  • Revision ID: mordred@inaugust.com-20091217183955-75f6jnpbho4sma6t
We don't actually support an array of these, so remove the extra bits.

Show diffs side-by-side

added added

removed removed

Lines of Context:
57
57
#define PANDORA_CPP_NAME(x) _drizzled_ ## x ## _plugin_
58
58
#define PANDORA_PLUGIN_NAME(x) PANDORA_CPP_NAME(x)
59
59
#define DRIZZLE_DECLARE_PLUGIN \
60
 
           drizzled::plugin::Manifest PANDORA_PLUGIN_NAME(PANDORA_MODULE_NAME)[]= {
61
 
 
62
 
 
63
 
#define DRIZZLE_DECLARE_PLUGIN_END ,{0, NULL,NULL,NULL,NULL,PLUGIN_LICENSE_GPL,NULL,NULL,NULL,NULL,NULL}}
 
60
           drizzled::plugin::Manifest PANDORA_PLUGIN_NAME(PANDORA_MODULE_NAME)= 
 
61
 
 
62
 
 
63
#define DRIZZLE_DECLARE_PLUGIN_END
64
64
#define DRIZZLE_PLUGIN(init,deinit,status,system) \
65
65
  DRIZZLE_DECLARE_PLUGIN \
66
66
  { \
71
71
    STRINGIFY_ARG(PANDORA_MODULE_TITLE), \
72
72
    PANDORA_MODULE_LICENSE, \
73
73
    init, deinit, status, system, NULL \
74
 
  } \
75
 
  DRIZZLE_DECLARE_PLUGIN_END
 
74
  } 
76
75
 
77
76
 
78
77
/*