![](https://secure.gravatar.com/avatar/85707c170bca7964097b9ee08480188d.jpg?s=120&d=mm&r=g)
26 Apr
2006
26 Apr
'06
7:59 a.m.
James Bielman wrote:
You seem to be going to a fair bit of trouble here to reproduce what the CFFI :STRING type does automatically... why not something like:
(defcfun ("Tcl_EvalFile" tcl-eval-file) :int (interp :pointer) (filename :string))
(defcfun ("Tcl_Eval" tcl-eval) :int (interp :pointer) (script :string))
Small "but": tcl use strings in utf-8. If you want get/put non-ascii string... -- WBR, Yaroslav Kavenchuk.