summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2014-06-17 17:04:32 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2014-06-17 17:04:32 +0200
commitfdfeb010e5d00102b3d55ef1bf74ed429f171e6c (patch)
treea379362b7d6eb62012bfd501f120c4fd5be38d67
parentb4a645db1711e881d5159ee867dda36c6de5092c (diff)
downloadlibtasn1-fdfeb010e5d00102b3d55ef1bf74ed429f171e6c.tar.gz
libtasn1-fdfeb010e5d00102b3d55ef1bf74ed429f171e6c.tar.bz2
libtasn1-fdfeb010e5d00102b3d55ef1bf74ed429f171e6c.zip
doc update
-rw-r--r--lib/element.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/element.c b/lib/element.c
index 27cc42e..321302a 100644
--- a/lib/element.c
+++ b/lib/element.c
@@ -132,6 +132,9 @@ _asn1_convert_integer (const unsigned char *value, unsigned char *value_out,
* node. The new element will have a name of '?number', where number
* is a monotonically increased serial number.
*
+ * The last element in the list may be provided in @ptail, to avoid
+ * traversing the list, an expensive operation in long lists.
+ *
* On success it returns in @ptail the added element (which is the
* tail in the list of added elements).
*/