Tcl - Accessing Fields from a C Struct -
i'm trying automation in orcad capture using tcl scripting interface. i've run problem of receiving struct, not having exposed functions deal it. know structure of struct (it's logfont) there anyway unpack struct?
i've found swig allows creating tcl interfaces c libraries. i'd rather not have ship c code access simple struct though!
this kind of thing need asking product vendor about. searching doesn't turn useful information, although several posts on cadence forums seem indicate documentation need in file named "orcad_capture_tcltk_extensions.pdf
", (look in instdir/tools/capture/tclscripts/). also, _60e6d70d_p_logfont
object handle. looks it's command... so, set $logfont [command_that_returns_this_handle]
, , $logfont
command invoke object methods, should documented in "orcad_capture_tcltk_extensions.pdf
".
this sense extracted http://www.cadence.com/community/forums/p/15614/1294051.aspx. see yourself.
Comments
Post a Comment