Manual inheritance and membership
Classes | Functions | Variables
manual.c File Reference

Classes

struct  Object
 Object type. More...
 
struct  Vehicle
 Vehicle type. More...
 
struct  Car
 Car type. More...
 
struct  Truck
 Truck type. More...
 

Functions

int main (void)
 

Variables

struct Object Object
 Object type.
 
struct Vehicle Vehicle
 Vehicle type.
 
struct Car Car
 Car type.
 
struct Truck Truck
 Truck type.
 

Function Documentation

int main ( void  )

Main function.

Ref vehicleStart(), objRef(), objUnref().

References Vehicle::vehicleStart().

83 {
84  Car c;
85  vehicleStart((Vehicle*) &c);
86 }
Vehicle type.
Definition: manual.c:37
Car type.
Definition: manual.c:61
void vehicleStart(Vehicle *obj)