Issue 30 Alternate Solution

This is my alternate solution to the problem behind your pull request #30.
Dynamically extract the relevant declarations from the chosen Tcl header files.
Transform them into the necessary definitions.
Insert the generated definitions into the stubs setup code.

Please test if that works in your setup and environment.