Use void*'s instead and do safe typecasting.