From 6465dc5646363ab3c3f5c025b01bb4cbdc5f560e Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Fri, 9 Jun 2017 22:17:13 -0700 Subject: doc: carray corrections. * txr.1: forgotten documentation added: the carray-own function can't be used on a carray which references a buf. --- txr.1 | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/txr.1 b/txr.1 index 24b48b29..70a90197 100644 --- a/txr.1 +++ b/txr.1 @@ -56578,19 +56578,24 @@ nothing, it returns The .code carray-own -function closely resembles +function resembles .codn carray-dup , -differing from that function only in one crucial detail: -instead of allocating a duplicate copy of the underlying array storage, -the +differing from that function only in in two ways. +Instead of allocating a duplicate copy of the underlying array storage, .code carray-own -function causes +causes .meta carray to .B assume -ownership of the existing storage. Also, +ownership of the existing storage. Secondly, it is an error to use +.code carray-own +on a +.meta carray +which references a buffer object. + +The .meta carray-own -returns +function always returns .codn nil . In all other regards, the descriptions of -- cgit v1.2.3