andreas-kupries/critcl — pull request #43 by joelface (2014-07-24 04:40:55+00:00)
Title: Load tsources with ::source instead of ::critcl::source.

I ran into an "Illegal attempt to define C code in...after it was built" error with a critcl package I've just started writing. Couldn't understand why, at first. Here's a simple script to reproduce it (my system has critcl 3.1.11):

```tcl
package require critcl
critcl::clean_cache
critcl::tsources dummy.tcl
critcl::cproc do_nothing {} void {}
do_nothing
```
(Note: dummy.tcl can be any Tcl script.)

The stack trace pointed me to the line changed in this pull request. Looks like this should have been changed when ::critcl::source was added.

P.S. Critcl is awesome!