PK_ERROR_clear_last   

PK_ERROR_code_t     PK_ERROR_clear_last
(
--- returned arguments ---
PK_LOGICAL_t *const was_error       --- whether there was an error to clear
)


This function clears the most recent PK error.


The value of 'was_error' will be PK_LOGICAL_true if there was one.

This function may be called at any time.

Note that this function clears the most recent error, irrespective of
which thread it occurred in. If multiple application threads are used to
call Parasolid, PK_THREAD_clear_last_error will be more useful, since that
clears the most recent error from the calling thread.