Function wyrd_destroy

Function Documentation

wyrd_error_t wyrd_destroy(struct wyrd_api **api)

Destroy an API instance created with wyrd_create().

Parameters

api[inout] The value will be set to NULL on success.

Return values
  • WYRD_ERR_SUCCESS – On success.

  • WYRD_ERR_INVALID_VALUE – If any of the parameters are invalid, such as e.g. NULL when they should not be, etc.