.DT
adjust_amount
Discworld cont_medium help
adjust_amount

Name
.SI 5
adjust_amount - The change the amount of this stuff.
.EI

Syntax
.SI 5
void adjust_amount(int amount);
.EI

Description
.SP 5 5
Changes the amount of the stuff in question.  This is the number of
things of the continuous medium.

Eg: If you had 20 marbles and marbles were handled as a continuous
medium, this would return 20.
.EP

Example
.SI 5
   /* Add another 200 grains of rice */
   rice->adjust_amount(200);
.EI

See also
.SI 5
query_amount, set_weight_unit, query_weight_unit, set_amount
.EI
