modify ptr_to_globals trick so that we do not violate
type safety (well, sort of ;))
4 files changed