<tcl.h>
The MPInterpreter class allows access to a shared per-thread Tcl interpreter for execution of MacPorts commands from upper levels in the API.