Overview
Artifact ID: | eb5f95bb4c338d8d4298f5b482dcdcee98afafa0 |
---|---|
Page Name: | Examples |
Date: | 2014-06-23 02:57:17 |
Original User: | rkeene |
Mimetype: | text/x-markdown |
Next | 45a72001ee84489fec4dd3197d401cca47991954 |
Content
tcc4tcl Examples
Simple Example
#! /usr/bin/env tclsh
package require tcc4tcl
set handle [tcc4tcl::new]
$handle cproc add {int a int b} long { return(a+b); }
puts [add 1 2]
More Complete Example
#! /usr/bin/env tclsh
package require tcc4tcl
set handle [tcc4tcl::new]
...in progress...