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

Base "class" simulated as a struct holding a speak function pointer. More...

Public Attributes

void(* speak )(struct Animal *)

Detailed Description

Base "class" simulated as a struct holding a speak function pointer.

Definition at line 18 of file C Implimentation.c.

Member Data Documentation

◆ speak

void(* Animal::speak) (struct Animal *)

Function pointer standing in for a vtable slot.

Definition at line 19 of file C Implimentation.c.


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