~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/ascii/ascii.cc

Merge with trunk

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
}