/* Gets the stylesheet contained by the @import rule statement. Returns CR_OK upon sucessfull completion, an error code otherwise.  */
enum CRStatus cr_statement_at_import_rule_get_imported_sheet(CRStatement *a_this, CRStyleSheet **a_sheet)
/* Gets the stylesheet contained by the @import rule statement. Returns CR_OK upon sucessfull completion, an error code otherwise.  */
enum CRStatus cr_statement_at_import_rule_get_imported_sheet(CRStatement *a_this, CRStyleSheet **a_sheet)
{
        g_return_val_if_fail (a_this
                              && a_this->type == AT_IMPORT_RULE_STMT
                              && a_this->kind.import_rule,
                              CR_BAD_PARAM_ERROR);
        *a_sheet = a_this->kind.import_rule->sheet;
        return CR_OK;
}