*** empty log message ***
git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@1116 59561ff5-6e30-0410-9f3c-9617f08c8826
diff --git a/skeletons/constr_SEQUENCE.c b/skeletons/constr_SEQUENCE.c
index 80cd6af..d38afb5 100644
--- a/skeletons/constr_SEQUENCE.c
+++ b/skeletons/constr_SEQUENCE.c
@@ -972,11 +972,11 @@
int
SEQUENCE_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
- asn_app_consume_bytes_f *app_errlog, void *app_key) {
+ asn_app_constraint_failed_f *ctfailcb, void *app_key) {
int edx;
if(!sptr) {
- _ASN_ERRLOG(app_errlog, app_key,
+ _ASN_CTFAIL(app_key, td,
"%s: value not given (%s:%d)",
td->name, __FILE__, __LINE__);
return -1;
@@ -994,7 +994,7 @@
if(!memb_ptr) {
if(elm->optional)
continue;
- _ASN_ERRLOG(app_errlog, app_key,
+ _ASN_CTFAIL(app_key, td,
"%s: mandatory element %s absent (%s:%d)",
td->name, elm->name, __FILE__, __LINE__);
return -1;
@@ -1005,11 +1005,11 @@
if(elm->memb_constraints) {
int ret = elm->memb_constraints(elm->type, memb_ptr,
- app_errlog, app_key);
+ ctfailcb, app_key);
if(ret) return ret;
} else {
int ret = elm->type->check_constraints(elm->type,
- memb_ptr, app_errlog, app_key);
+ memb_ptr, ctfailcb, app_key);
if(ret) return ret;
/*
* Cannot inherit it earlier: