From ece235ec75eff4368df553bcbb2024d7fd4327aa Mon Sep 17 00:00:00 2001 From: Lukas Larsson Date: Mon, 4 Jul 2011 13:54:40 +0200 Subject: Add documentation for nif interface --- lib/asn1/doc/src/asn1_ug.xml | 8 +++++++- lib/asn1/doc/src/asn1ct.xml | 10 +++++++++- 2 files changed, 16 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/asn1/doc/src/asn1_ug.xml b/lib/asn1/doc/src/asn1_ug.xml index 12d986308f..6d9532a475 100644 --- a/lib/asn1/doc/src/asn1_ug.xml +++ b/lib/asn1/doc/src/asn1_ug.xml @@ -4,7 +4,7 @@
- 19972010 + 19972011 Ericsson AB. All Rights Reserved. @@ -366,6 +366,12 @@ erlc -o ../asnfiles -I ../asnfiles -I /usr/local/standards/asn1 Person.asn you choose to use a linked in driver for considerable faster decode.

+ +nif + +

Together with the flags per_bin or ber_bin + and optimize you choose to use a nif for considerable + faster per encode and ber decode.

+
+asn1config

This functionality works together with the flags diff --git a/lib/asn1/doc/src/asn1ct.xml b/lib/asn1/doc/src/asn1ct.xml index 265f8735c2..2c8bef5dd8 100644 --- a/lib/asn1/doc/src/asn1ct.xml +++ b/lib/asn1/doc/src/asn1ct.xml @@ -4,7 +4,7 @@

- 19972010 + 19972011 Ericsson AB. All Rights Reserved. @@ -223,6 +223,14 @@ Binary = binary() considerable faster decode. In ber_bin the driver is enabled only by explicit use of the option driver.

+ nif + +

Option valid together with ber_bin and optimize + or per_bin and optimize options. It enables the + use of several nifs that gives faster decode for + ber and encode for per than the driver options gives. Nifs are + only enabled by the explicit use of the option nif

+
asn1config

When one of the specialized decodes, exclusive or -- cgit v1.2.3