C interface 'polymorphism' examples