# Extra options to supply to gtkdoc-scan.
# e.g. SCAN_OPTIONS=--deprecated-guards="GTK_DISABLE_DEPRECATED"
-SCAN_OPTIONS=
+SCAN_OPTIONS=--deprecated-guards=ASN1_DISABLE_DEPRECATED
# Extra options to supply to gtkdoc-mkdb.
# e.g. MKDB_OPTIONS=--sgml-mode --output-format=xml
return NULL;
}
+#ifndef ASN1_DISABLE_DEPRECATED
+
/* Compatibility mappings to preserve ABI. */
/**
{
return asn1_strerror (error);
}
+
+#endif
/* Deprecated stuff. */
+#ifndef ASN1_DISABLE_DEPRECATED
+
#define LIBTASN1_VERSION ASN1_VERSION
#ifndef MAX_NAME_SIZE
/* Use asn1_perror instead. */
void libtasn1_perror (asn1_retCode error) ASN1_DEPRECATED;
+#endif
+
#ifdef __cplusplus
}
#endif