Inheritance vs Interface Polymorphism (C)
Doxygen docs for the C implementation
Loading...
Searching...
No Matches
ISpeaker Struct Reference

Interface contract simulated as a struct holding only a function pointer. More...

Public Attributes

void(* speak )(struct ISpeaker *)

Detailed Description

Interface contract simulated as a struct holding only a function pointer.

Definition at line 127 of file C Implimentation.c.

Member Data Documentation

◆ speak

void(* ISpeaker::speak) (struct ISpeaker *)

Function pointer representing the contract.

Definition at line 128 of file C Implimentation.c.


The documentation for this struct was generated from the following file: