Next: C API Reference, Previous: Advanced Usage, Up: MicroBenchmark [Contents][Index]
The functions of this reference are specified using Floyd-Hoare logic, as P{Q}R, where:
The following order is imposed between these elements:
The following examples showcase the format used by the API Reference:
extra_qualifiers
¶Preconditions:
Conditions to be met at the call point.
<-- This number is for reference purposes, all preconditions must be met at the call point.
Effects:
Effect produced by the call.
Another effect produced by the call when value has the special
value foobar
.
<-- This number is for reference purposes. It does not impose an order on the effects unless specified otherwise.
Postconditions:
Condition provided after the call.
Another condition provided after the call when ParamType is something.
<-- This number is for reference purposes, all postconditions must be provided at the return point.
General comments regarding the function come after the formal definition.
Preconditions: …
Note:
NULL
doesn’t point to a valid
object in C.
Next: C API Reference, Previous: Advanced Usage, Up: MicroBenchmark [Contents][Index]