~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/ascii/ascii.cc

  • Committer: Brian Aker
  • Date: 2009-10-02 19:38:12 UTC
  • mfrom: (1152.1.7 merge)
  • Revision ID: brian@gaz-20091002193812-mpd61oecep74t6gd
Merge Monty + Brian for plugins.

Show diffs side-by-side

added added

removed removed

Lines of Context:
71
71
static int initialize(plugin::Registry &registry)
72
72
{
73
73
  asciiudf= new plugin::Create_function<AsciiFunction>("ascii");
74
 
  registry.function.add(asciiudf);
 
74
  registry.add(asciiudf);
75
75
  return 0;
76
76
}
77
77
 
78
78
static int finalize(plugin::Registry &registry)
79
79
{
80
 
  registry.function.remove(asciiudf);
 
80
  registry.remove(asciiudf);
81
81
  delete asciiudf;
82
82
  return 0;
83
83
}