/* Returns CR_OK upon successfull completion, an error code otherwise.  */
enum CRStatus cr_doc_handler_set_result(CRDocHandler *a_this, gpointer a_result)
/* Returns CR_OK upon successfull completion, an error code otherwise.  */
enum CRStatus cr_doc_handler_set_result(CRDocHandler *a_this, gpointer a_result)
{
        g_return_val_if_fail (a_this && a_this->priv, CR_BAD_PARAM_ERROR);
        a_this->priv->result = a_result;
        return CR_OK;
}