From 0f54e7f02656b6634ae15870c2af272a4d8c4eac Mon Sep 17 00:00:00 2001
From: Lukas Larsson
Date: Tue, 5 Jul 2011 18:19:17 +0200
Subject: Update documentation with replacement of driver with nif
---
lib/asn1/doc/src/asn1ct.xml | 29 +++++++----------------------
1 file changed, 7 insertions(+), 22 deletions(-)
(limited to 'lib/asn1/doc/src/asn1ct.xml')
diff --git a/lib/asn1/doc/src/asn1ct.xml b/lib/asn1/doc/src/asn1ct.xml
index 2c8bef5dd8..d7c2572dc8 100644
--- a/lib/asn1/doc/src/asn1ct.xml
+++ b/lib/asn1/doc/src/asn1ct.xml
@@ -52,7 +52,7 @@
Options = [Option| OldOption]
Option = ber_bin | per_bin | uper_bin | der | compact_bit_string |
noobj | {n2n,EnumTypeName} |{outdir,Dir} | {i,IncludeDir} | optimize |
- driver | asn1config | undec_rest | {inline,OutputName} | inline |
+ nif | asn1config | undec_rest | {inline,OutputName} | inline |
{macro_name_prefix, Prefix} | {record_name_prefix, Prefix} | verbose
OldOption = ber | per
Reason = term()
@@ -212,24 +212,21 @@ Binary = binary()
per_bin
or ber_bin option. It gives time optimized code
generated and it uses another runtime module and
- in the per_bin case a linked-in driver. The result
+ in the per_bin case a nif. The result
in the per_bin case from an encode when compiled
with this option will be a binary.
driver
-
-
Option valid together with ber_bin and optimize
- options. It enables the use of a linked-in driver that gives
- considerable faster decode. In ber_bin the driver is
- enabled only by explicit use of the option driver.
+ As of R15B this means the same as the nif option. Kept for
+ backwards compatability reasons.
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
+ options. It enables the use of several nifs that gives faster
+ decode. Nifs are only enabled by the explicit use of the option
+ nif
asn1config
-
@@ -350,18 +347,6 @@ Binary = binary()
Bytes. Returns {ok,Value} if successful.
-
- validate(Module,Type,Value) -> ok | {error,Reason}
- Validate an ASN.1 value.
-
- Module = Type = atom()
- Value = term()
-
-
-
Validates that Value conforms to Type
- from Module. Not implemented in this version of the ASN.1 application.
-
-
value(Module ,Type) -> {ok,Value} | {error,Reason}
Create an ASN.1 value for test purposes.
--
cgit v1.2.3