List:Internals« Previous MessageNext Message »
From:Muslimas Chochlovas Date:June 29 2008 5:08pm
Subject:RE: Plugin declaration
View as plain text  
Hello Sergei,

> It should be ok. Although you could just as well use macros and write
> 
> mysql_declare_plugin(yours)
>   plugin_1,
>   plugin_2
> mysql_declare_plugin_end
> 
> Or even 
> 
> mysql_declare_plugin(yours)
>  { .... }, // declarations for plugin 1
>  { .... }, // declarations for plugin 2
> mysql_declare_plugin_end
> 
> because there's no rule that plugin declaration cannot refer to a
> function in a different file. That is, you put your functions in
> whatever file you want, and a plugin declaration in a different file -
> no problem whatsoever.

Ok now it is absolutely clear. Thank you for quick response.

Cheers,

M.Chochlovas

Thread
Plugin declarationMuslimas Chochlovas29 Jun
  • Re: Plugin declarationSergei Golubchik29 Jun
    • RE: Plugin declarationMuslimas Chochlovas29 Jun