[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Weechat-dev] [bug #25754] Namespace weechat:: not created in tcl-plugin
From: |
Dmitry |
Subject: |
[Weechat-dev] [bug #25754] Namespace weechat:: not created in tcl-plugin |
Date: |
Wed, 04 Mar 2009 05:36:36 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.6) Gecko/2009011912 Firefox/3.0.6 |
Follow-up Comment #1, bug #25754 (project weechat):
Namespaces in Tcl is supported long ago. But Tcl_CreateNamespace in public
interface recently.
is think it is better to use:
Tcl_Eval(interp,"namespace eval weechat {}");
instead of:
#ifdef HAVE_TCL_CREATE_NS
/* create weechat namespace */
Tcl_CreateNamespace (interp, "weechat",(ClientData)0,NULL);
#endif
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?25754>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/