Diff

Differences From Artifact [67f0fe4037]:

To Artifact [8ffdbeb52f]:


3
4
5
6
7
8
9








10
11

12
lappend auto_path [lindex $argv 0]
package require tcc4tcl

tcc4tcl::cproc test {int i} int { return(i+42); }
tcc4tcl::cproc test1 {int i} int { return(i+42); }
tcc4tcl::cproc ::bob::test1 {int i} int { return(i+42); }









puts [test 1]
puts [::test1 1]

puts [::bob::test1 1]







>
>
>
>
>
>
>
>

|
>

3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
lappend auto_path [lindex $argv 0]
package require tcc4tcl

tcc4tcl::cproc test {int i} int { return(i+42); }
tcc4tcl::cproc test1 {int i} int { return(i+42); }
tcc4tcl::cproc ::bob::test1 {int i} int { return(i+42); }

# This will fail
catch {
	tcc4tcl::cproc test2 {int i} int { badcode; }
}

# This should work
tcc4tcl::cproc test3 {int i} int { return(i+42); }

puts [test 1]
puts [test1 1]
puts [test3 1]
puts [::bob::test1 1]