Hello Dan,

Are you refering to:
static struct dlg_cb_params params = {NULL, DLG_DIR_NONE, NULL, NULL};
?

It was modeled after:
static struct tmcb_params params = {0,0,0,0,0,0};
from t_hooks.c.

Ovidiu


On Thu, May 29, 2008 at 3:03 PM, Dan Pascu <[EMAIL PROTECTED]> wrote:
>
> Ovidiu, I think you made these changes. Can you clarify why a global
> variable is used?
>
> On Tuesday 20 May 2008, Dan Pascu wrote:
>> Why is params in dlg_cb.c a global variable? I see no reason for it not
>> to be a local variable on the stack.
>
> --
> Dan
>
> _______________________________________________
> Devel mailing list
> Devel@lists.openser.org
> http://lists.openser.org/cgi-bin/mailman/listinfo/devel
>

_______________________________________________
Devel mailing list
Devel@lists.openser.org
http://lists.openser.org/cgi-bin/mailman/listinfo/devel

Reply via email to