From: Xavier V. <xav...@fr...> - 2004-02-19 18:54:00
|
Hi Michael, hi Martin, hi list ! > Hrm... I'm afraid you won. I vote for :: too. Martin? \o/ > Here's my plan: prepare the parser, rewrite all plugins so that ne > namespace is used, but DO NOT IMPLEMENT DYNAMIC LOADING! > Why? I want to release 0.9.12 as soon as possible... It's ok for me. > a) how should the namespace look like when it contains only one > function? (or "contains itself") > I guess this has already been answered: > xmms() > xmms::filename() Yes. Another solution would be that plugin registers a parse() function acessible by xmms::parse(), and that if we call xmms(), the eval adds ::parse to function name. Maybe it would be easier to implement, but do as you want. > b) I think I'll modify the AddFunction call: > AddFunction (<namespace> <function> <parameters> <real_function_ptr>) > i.e. > AddFunction ("xmms", NULL, 2, my_xmms) > or > AddFunction ("xmms", "filename", 2, my_xmms) Okay. Bye ! -- Xavier VELLO <xav...@fr...> PS: what about the 'french connection' ? Sam are you here for debiannisation ? PS #2: Luk: there's a problem with postinst script, it fails. We should disable dialog, which is not worth debugging debconf. |