Pascal/C type transformations (was: types for ncurses)