![]() |
PK_THREAD_clear_last_error |
PK_ERROR_code_t PK_THREAD_clear_last_error ( --- returned arguments --- PK_LOGICAL_t *const was_error --- whether there was an error to clear ) This function clears the most recent PK error in the calling thread. The value of 'was_error' will be PK_LOGICAL_true if there was one in the calling thread. This function may only be called when the modeller is started.