examples/lib use the new wrappers
This commit is contained in:
parent
ddb7185482
commit
b559285b78
133 changed files with 17038 additions and 151734 deletions
|
|
@ -14,12 +14,12 @@ bind .e <Return> {
|
|||
}
|
||||
"""
|
||||
|
||||
Tcl_FindExecutable(getApplicationFilename())
|
||||
var interp = Tcl_CreateInterp()
|
||||
FindExecutable(getApplicationFilename())
|
||||
var interp = CreateInterp()
|
||||
if interp == nil: quit("cannot create TCL interpreter")
|
||||
if Tcl_Init(interp) != TCL_OK:
|
||||
if Init(interp) != TCL_OK:
|
||||
quit("cannot init interpreter")
|
||||
if Tcl_Eval(interp, myScript) != TCL_OK:
|
||||
if Eval(interp, myScript) != TCL_OK:
|
||||
quit("cannot execute script.tcl")
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue