Differences From Artifact [790f1d50be]:
- Executable file test — part of check-in [2a9dcf9840] at 2014-06-18 19:50:24 on branch trunk — Added new API tests (user: rkeene, size: 1444) [annotate] [blame] [check-ins using]
- Executable file test.tcl — part of check-in [ecb01f7ca0] at 2014-06-21 15:43:52 on branch trunk — Updated to name Test TCL script something other than "test" so it does not conflict with the "test" target in Make (user: rkeene, size: 1444) [annotate] [blame] [check-ins using]
To Artifact [271d570bc1]:
- Executable file test.tcl — part of check-in [05cac27666] at 2014-06-22 23:23:54 on branch trunk — Fixed issues with several subcommands (user: rkeene, size: 1471) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
65 66 67 68 69 70 71 72 73 74 | # New API set handle [tcc4tcl::new] $handle cproc test5 {int i} int { return(i + 42); } if {[$handle code] == ""} { error "[list $handle code] did not give code output" } $handle cproc test6 {int i} int { return(i + 42); } $handle go puts [test5 1] puts [test6 1] | > | 65 66 67 68 69 70 71 72 73 74 75 | # New API set handle [tcc4tcl::new] $handle cproc test5 {int i} int { return(i + 42); } if {[$handle code] == ""} { error "[list $handle code] did not give code output" } $handle cproc test6 {int i} int { return(i + 42); } $handle add_library_path . $handle go puts [test5 1] puts [test6 1] |