Using Tcl_*ObjCmd in extensions
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.tcl archive

Using Tcl_*ObjCmd in extensions

From: Erik Leunissen <look@the.footer.invalid>
Date: Tue Dec 20 2005 - 18:47:31 CET

L.S.

On few occasions when writing a C based extension to Tcl, I want to call
Tcl command procedures (i.e. the set of Tcl_*ObjCmd functions).

After linking against the stubs library, symbols referring to these
functions remain unresolved.

This does not "feel good". However, when dynamically loading the shared
library, there is no complaint (which I does surprise me), and the
library's functionality works fine.

Still, I'm unsure whether this is evil. Could anybody expand a bit why
it is(n't)?

Thanks in advance,

Erik Leunissen

-- 
   leunissen@       nl | Merge the left part of these two lines into one,
e.          hccnet.   | respecting a character's position in a line.
Received on Fri Dec 23 19:02:33 2005