r3448: *** empty log message ***
authorKevin M. Rosenberg <kevin@rosenberg.net>
Fri, 22 Nov 2002 01:35:33 +0000 (01:35 +0000)
committerKevin M. Rosenberg <kevin@rosenberg.net>
Fri, 22 Nov 2002 01:35:33 +0000 (01:35 +0000)
debian/changelog
debian/control
doc/html.tar.gz
doc/ref.sgml
doc/uffi.pdf

index 908080f003ad97647d4ce0e86f5fd19055fadb5f..4cbbf51728eaefd091f159d4b412417d98036923 100644 (file)
@@ -1,3 +1,9 @@
+cl-uffi (1.1.5-1) unstable; urgency=low
+
+  * Documentation changes
+
+ -- Kevin M. Rosenberg <kmr@debian.org>  Thu, 21 Nov 2002 18:35:26 -0700
+
 cl-uffi (1.1.4-1) unstable; urgency=low
 
   * OpenMCL/MCL fixes
index a5fefc15211f9433be9e3dc1e4442fd67a147a0c..2e81ad552254f46ebe0786d3ad752652010023d4 100644 (file)
@@ -3,7 +3,7 @@ Section: devel
 Priority: optional
 Maintainer: Kevin M. Rosenberg <kmr@debian.org>
 Build-Depends-Indep: debhelper (>= 4.0.0)
-Standards-Version: 3.5.7.1
+Standards-Version: 3.5.8.0
 
 Package: cl-uffi
 Architecture: all
index 83147faae5ad2ff33e29b39bedce7f72fbdba6e2..e5331dbf2278fbc0366e686b3bc367d60a48c39f 100644 (file)
Binary files a/doc/html.tar.gz and b/doc/html.tar.gz differ
index 827ac079f6e3e39f5102540b8a8964bc3d1c2c59..39ae02ebaf9a920fceb1b76cef1a1671bd0f70fb 100644 (file)
@@ -1495,12 +1495,23 @@ if a cstring returned by a function is &null;.
 <partintro>
 <title>Overview</title>
 <para>
-         &uffi; has functions to two types of <varname>C</varname>-compatible 
+
+         &uffi; has functions to two types of
+<varname>C</varname>-compatible
          strings, <emphasis>cstring</emphasis> and <emphasis>foreign</emphasis> strings.
-cstrings are used as parameters to and from functions. An implementation, such as CMUCL,
-may not convert these to a foreign type for efficiency sake. Thus, it is not
-possible to "allocate" a cstring. In contrast, foreign strings
-always need to have memory for them.
+
+cstrings are used as parameters to and from functions. An
+implementation, such as CMUCL and Lispworks, a cstring may not be a
+foreign type but rather the Lisp string itself while on other
+platforms a cstring is a newly allocated foreign vector for storing
+characters. Thus, it is not possible to portably
+<emphasis>allocate</emphasis> a cstring. 
+</para>
+<para>
+In contrast, foreign strings
+are always a foreign vector of characters which have a memory
+allocated to hold them. Because of this, if you need to allocate memory to
+hold the return value of a string, use a foreign string and not a cstring.
        </para>
 </partintro>
 
@@ -1602,7 +1613,7 @@ that returns a cstring.
       </refsect1>
       <refsect1>
        <title>Side Effects</title>
-       <para>None.</para>
+       <para>On some implementations, this function allocates memory.</para>
       </refsect1>
       <refsect1>
        <title>Affected by</title>
@@ -1704,7 +1715,7 @@ that returns a cstring.
       <refsect1>
        <title>Description</title>
        <para>
-         Binds a lexical variable to a newly allocated <varname>cstring</varname>. Automatically frees <varname>cstring</varname>.
+         Binds a symbol to a cstring created from conversion of a string. Automatically frees the <varname>cstring</varname>.
        </para>
       </refsect1>
       <refsect1>
index 21ed5921f78934041b30701a2de3a5908d33d04d..f59135461c9228004b490373402ba91c24f9a412 100644 (file)
Binary files a/doc/uffi.pdf and b/doc/uffi.pdf differ