unit.h

Exposes functions to handle the Unit data type, which cannot represent any information.

  • Author: Edward Jones
  • Date: 2021-09-17

Source file

dest_unit

Destroy a unit.

  • Param unitp: Pointer to a unit to destroy
void dest_unit(Unit* unitp);

make_unit

Make a unit.

  • Param unitp: Pointer to the unit to make
void make_unit(Unit* unitp);