Diff of /uffi/ref_string.xml [b20a97] .. [d0e0b7] Maximize Restore

  Switch to unified view

a/uffi/ref_string.xml b/uffi/ref_string.xml
1
<?xml version="1.0" encoding="utf-8"?><!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
1
<?xml version="1.0" encoding="utf-8"?>
2
<book lang="en">
2
<!DOCTYPE book [
3
<!ENTITY % eclent SYSTEM "../ecl.ent">
4
%eclent;
5
]>
6
<book xmlns="http://docbook.org/ns/docbook" version="5.0" xml:lang="en">
3
 <reference id="uffi.strings">
7
 <reference xml:id="uffi.strings">
4
  <title>Strings</title>
8
  <title>Strings</title>
5
  <partintro>
9
  <partintro>
6
   <title>Overview</title>
10
   <title>Overview</title>
7
   <para>
11
   <para>
8
    &UFFI; has functions to two types of <varname>C</varname>-compatible
12
    &UFFI; has functions to two types of <varname>C</varname>-compatible
...
...
70
      str)))
74
      str)))
71
   </programlisting>
75
   </programlisting>
72
   
76
   
73
  </partintro>
77
  </partintro>
74
  
78
  
75
  <refentry id="uffi.convert-from-cstring">
79
  <refentry xml:id="uffi.convert-from-cstring">
76
   <refnamediv>
80
   <refnamediv>
77
    <refname><function>convert-from-cstring</function></refname>
81
    <refname><function>convert-from-cstring</function></refname>
78
    <refpurpose>Converts a cstring to a Lisp string.</refpurpose>
82
    <refpurpose>Converts a cstring to a Lisp string.</refpurpose>
79
    <refclass>Macro</refclass>
83
    <refclass>Macro</refclass>
80
   </refnamediv>
84
   </refnamediv>
...
...
127
    <para>None.</para>
131
    <para>None.</para>
128
   </refsect1>
132
   </refsect1>
129
  </refentry>
133
  </refentry>
130
  
134
  
131
  
135
  
132
  <refentry id="uffi.convert-to-cstring">
136
  <refentry xml:id="uffi.convert-to-cstring">
133
   <refnamediv>
137
   <refnamediv>
134
    <refname><function>convert-to-cstring</function></refname>
138
    <refname><function>convert-to-cstring</function></refname>
135
    <refpurpose>Converts a Lisp string to a cstring.</refpurpose>
139
    <refpurpose>Converts a Lisp string to a cstring.</refpurpose>
136
    <refclass>Macro</refclass>
140
    <refclass>Macro</refclass>
137
   </refnamediv>
141
   </refnamediv>
...
...
184
    <para>None.</para>
188
    <para>None.</para>
185
   </refsect1>
189
   </refsect1>
186
  </refentry>
190
  </refentry>
187
  
191
  
188
  
192
  
189
  <refentry id="uffi.free-cstring">
193
  <refentry xml:id="uffi.free-cstring">
190
   <refnamediv>
194
   <refnamediv>
191
    <refname><function>free-cstring</function></refname>
195
    <refname><function>free-cstring</function></refname>
192
    <refpurpose>Free memory used by cstring.
196
    <refpurpose>Free memory used by cstring.
193
    </refpurpose>
197
    </refpurpose>
194
    <refclass>Macro</refclass>
198
    <refclass>Macro</refclass>
...
...
231
    <para>None.</para>
235
    <para>None.</para>
232
   </refsect1>
236
   </refsect1>
233
  </refentry>
237
  </refentry>
234
  
238
  
235
  
239
  
236
  <refentry id="uffi.with-cstring">
240
  <refentry xml:id="uffi.with-cstring">
237
   <refnamediv>
241
   <refnamediv>
238
    <refname><function>with-cstring</function></refname>
242
    <refname><function>with-cstring</function></refname>
239
    <refpurpose>Binds a newly created cstring.</refpurpose>
243
    <refpurpose>Binds a newly created cstring.</refpurpose>
240
    <refclass>Macro</refclass>
244
    <refclass>Macro</refclass>
241
   </refnamediv>
245
   </refnamediv>
...
...
307
    <para>None.</para>
311
    <para>None.</para>
308
   </refsect1>
312
   </refsect1>
309
  </refentry>
313
  </refentry>
310
  
314
  
311
  
315
  
312
  <refentry id="uffi.convert-from-foreign-string">
316
  <refentry xml:id="uffi.convert-from-foreign-string">
313
   <refnamediv>
317
   <refnamediv>
314
    <refname><function>convert-from-foreign-string</function></refname>
318
    <refname><function>convert-from-foreign-string</function></refname>
315
    <refpurpose>Converts a foreign string into a Lisp string.</refpurpose>
319
    <refpurpose>Converts a foreign string into a Lisp string.</refpurpose>
316
    <refclass>Macro</refclass>
320
    <refclass>Macro</refclass>
317
   </refnamediv>
321
   </refnamediv>
...
...
380
    <para>None.</para>
384
    <para>None.</para>
381
   </refsect1>
385
   </refsect1>
382
  </refentry>
386
  </refentry>
383
  
387
  
384
  
388
  
385
  <refentry id="uffi.convert-to-foreign-string">
389
  <refentry xml:id="uffi.convert-to-foreign-string">
386
   <refnamediv>
390
   <refnamediv>
387
    <refname><function>convert-to-foreign-string</function></refname>
391
    <refname><function>convert-to-foreign-string</function></refname>
388
    <refpurpose>Converts a Lisp string to a foreign string.
392
    <refpurpose>Converts a Lisp string to a foreign string.
389
    </refpurpose>
393
    </refpurpose>
390
    <refclass>Macro</refclass>
394
    <refclass>Macro</refclass>
...
...
435
    <title>Exceptional Situations</title>
439
    <title>Exceptional Situations</title>
436
    <para>None.</para>
440
    <para>None.</para>
437
   </refsect1>
441
   </refsect1>
438
  </refentry>
442
  </refentry>
439
  
443
  
440
  <refentry id="uffi.allocate-foreign-string">
444
  <refentry xml:id="uffi.allocate-foreign-string">
441
   <refnamediv>
445
   <refnamediv>
442
    <refname><function>allocate-foreign-string</function></refname>
446
    <refname><function>allocate-foreign-string</function></refname>
443
    <refpurpose>Allocates space for a foreign string.
447
    <refpurpose>Allocates space for a foreign string.
444
    </refpurpose>
448
    </refpurpose>
445
   </refnamediv>
449
   </refnamediv>