|
From: <cli...@li...> - 2005-06-24 03:13:38
|
Send clisp-cvs mailing list submissions to cli...@li... To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/clisp-cvs or, via email, send a message with subject or body 'help' to cli...@li... You can reach the person managing the list at cli...@li... When replying, please edit your Subject line so it is more specific than "Re: Contents of clisp-cvs digest..." CLISP CVS commits for today Today's Topics: 1. clisp/tests ffi.tst,1.38,1.39 (Jörg Höhle) 2. clisp/src NEWS,1.252,1.253 constsym.d,1.306,1.307 foreign1.lisp,1.87,1.88 ChangeLog,1.4720,1.4721 (Jörg Höhle) 3. clisp/doc impent.xml,1.221,1.222 impbody.xml,1.388,1.389 (Sam Steingold) 4. clisp/doc impext.xml,1.354,1.355 impent.xml,1.222,1.223 (Sam Steingold) 5. clisp/src NEWS,1.253,1.254 (Sam Steingold) 6. clisp/doc common.xsl,1.14,1.15 (Sam Steingold) 7. clisp/doc impext.xml,1.355,1.356 (Sam Steingold) 8. clisp/doc cl-ent.xml,1.89,1.90 (Sam Steingold) 9. clisp/doc impext.xml,1.356,1.357 (Sam Steingold) 10. clisp/doc impext.xml,1.357,1.358 (Sam Steingold) --__--__-- Message: 1 From: Jörg Höhle <ho...@us...> To: cli...@li... Subject: clisp/tests ffi.tst,1.38,1.39 Date: Thu, 23 Jun 2005 07:36:18 +0000 Reply-To: cli...@li... Update of /cvsroot/clisp/clisp/tests In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18081/tests Modified Files: ffi.tst Log Message: Add ffi:memory-as low-level accessor Index: ffi.tst =================================================================== RCS file: /cvsroot/clisp/clisp/tests/ffi.tst,v retrieving revision 1.38 retrieving revision 1.39 diff -u -d -r1.38 -r1.39 --- ffi.tst 9 May 2005 10:44:44 -0000 1.38 +++ ffi.tst 23 Jun 2005 07:36:15 -0000 1.39 @@ -89,6 +89,53 @@ (cast place '(c-array sint8 (3 2)))) #2A((-1 -2) (-3 -9) (-8 -7)) +(with-foreign-object (a '(c-array sint32 4) + #(122222 928389716 -1987234239 -123141)) + (memory-as a 'sint32 8)) +-1987234239 + +(with-c-var (a '(c-array sint32 4) + #(122222 928389716 -19 -123141)) + (setf (memory-as (c-var-address a) 'sint32 8) 478798798) a) +#(122222 928389716 478798798 -123141) + +(with-c-var (a '(c-array sint32 4) + #(122222 928389716 -19 -123141)) + (setf (memory-as (c-var-address a) 'sint32 8) 478798798)) +478798798 + +(with-foreign-object (a '(c-array double-float 2) + #(9.05d12 -12.765d-13)) + (memory-as a 'double-float 0)) +9.05d12 + +(with-foreign-object (a '(c-array single-float 2) + #(9.05f12 -12.765f-13)) + (memory-as a 'single-float 0)) +9.05f12 + +(with-foreign-object (x 'single-float) + (list (setf (memory-as x 'single-float) -28.23f-15) + (foreign-value x))) +(-28.23f-15 -28.23f-15) + +(with-c-var (p '(c-ptr sint32) -823498) + (= (foreign-address-unsigned + (memory-as (c-var-address p) 'c-pointer)) + (foreign-address-unsigned (c-var-address (deref p))))) +t + +(with-foreign-object (p '(c-ptr sint32) -823498) + (= (foreign-address-unsigned (memory-as p 'c-pointer)) + (foreign-address-unsigned p))) +nil + +(with-foreign-object (p '(c-ptr sint16)) + (with-foreign-object (i 'sint16 -32765) + (list (eq (setf (memory-as p 'c-pointer) i) i) + (foreign-value p)))) +(t -32765) + (progn (def-call-out c-self (:name "ffi_identity") (:arguments (obj (c-pointer short))) @@ -618,6 +665,22 @@ (foreign-as-string (foreign-address f))) "b" +(with-foreign-string (f e b "abcd" :start 1 :end 3 + #+UNICODE :encoding #+UNICODE charset:ascii) + (memory-as f 'character 1)) +#\c + +(with-foreign-string (f e b "abcde" :start 1 :end 4 + #+UNICODE :encoding #+UNICODE charset:ascii) + (memory-as f 'string 1)) +"cd" + +;#+UNICODE ; clisp writes a BOM at start and I don't want to depend on that +;(with-foreign-string (f e b "abcde" :start 1 :end 4 +; :encoding charset:utf-16) +; (memory-as f 'string 2)) +;#+UNICODE "cd" + (let ((f (with-foreign-string (fv e b "ABC") fv))) (validp f)) NIL --__--__-- Message: 2 From: Jörg Höhle <ho...@us...> To: cli...@li... Subject: clisp/src NEWS,1.252,1.253 constsym.d,1.306,1.307 foreign1.lisp,1.87,1.88 ChangeLog,1.4720,1.4721 Date: Thu, 23 Jun 2005 11:25:39 +0000 Reply-To: cli...@li... Update of /cvsroot/clisp/clisp/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6903/src Modified Files: NEWS constsym.d foreign1.lisp ChangeLog Log Message: Mention ffi:memory-as low-level accessor Index: NEWS =================================================================== RCS file: /cvsroot/clisp/clisp/src/NEWS,v retrieving revision 1.252 retrieving revision 1.253 diff -u -d -r1.252 -r1.253 --- NEWS 13 Jun 2005 13:05:22 -0000 1.252 +++ NEWS 23 Jun 2005 11:25:11 -0000 1.253 @@ -284,6 +284,8 @@ * New FFI function CLOSE-FOREIGN-LIBRARY can be used to unload a library. See <http://clisp.cons.org/impnotes.html#dffi-close-lib> for details. +* New FFI low-level accessor MEMORY-AS. + * Foreign functions and variables can now be documented using the :DOCUMENTATION option to DEF-CALL-OUT and DEF-C-VAR. Index: constsym.d =================================================================== RCS file: /cvsroot/clisp/clisp/src/constsym.d,v retrieving revision 1.306 retrieving revision 1.307 diff -u -d -r1.306 -r1.307 --- constsym.d 22 Jun 2005 16:41:51 -0000 1.306 +++ constsym.d 23 Jun 2005 11:25:28 -0000 1.307 @@ -1172,8 +1172,8 @@ LISPSYM(slot,"%SLOT",ffi) /* ABI */ LISPSYM(cast,"%CAST",ffi) /* ABI */ LISPSYM(offset,"%OFFSET",ffi) /* ABI */ -LISPSYM(read_memory_as,"MEMORY-AS",ffi) /* ABI */ -LISPSYM(write_memory_as,"WRITE-MEMORY-AS",ffi) +LISPSYM(read_memory_as,"MEMORY-AS",ffi) +LISPSYM(write_memory_as,"WRITE-MEMORY-AS",ffi) /* ABI */ LISPSYM(exec_on_stack,"EXEC-ON-STACK",ffi) /* ABI */ LISPSYM(call_with_foreign_string,"CALL-WITH-FOREIGN-STRING",ffi) LISPSYM(foreign_allocate,"FOREIGN-ALLOCATE",ffi) Index: foreign1.lisp =================================================================== RCS file: /cvsroot/clisp/clisp/src/foreign1.lisp,v retrieving revision 1.87 retrieving revision 1.88 diff -u -d -r1.87 -r1.88 --- foreign1.lisp 22 Jun 2005 18:02:30 -0000 1.87 +++ foreign1.lisp 23 Jun 2005 11:25:28 -0000 1.88 @@ -932,7 +932,7 @@ ;; =========================== low-level interface =========================== -(sys::def-setf-alias memory-as write-memory-as) +(sys::def-setf-alias memory-as write-memory-as) ; ABI ;; ============================ named C functions ============================ Index: ChangeLog =================================================================== RCS file: /cvsroot/clisp/clisp/src/ChangeLog,v retrieving revision 1.4720 retrieving revision 1.4721 diff -u -d -r1.4720 -r1.4721 --- ChangeLog 22 Jun 2005 18:02:31 -0000 1.4720 +++ ChangeLog 23 Jun 2005 11:25:28 -0000 1.4721 @@ -6,8 +6,9 @@ 2005-06-22 Jörg Höhle <ho...@us...> * foreign.d (read_memory_as, write_memory_as): low-level accessors - * foreign1.lisp (memory-as): export and define (setf memory-as) - + * subr.d, constsym.d (read_memory_as, write_memory_as): added + * foreign1.lisp (MEMORY-AS): export and define (SETF MEMORY-AS) + 2005-06-21 Sam Steingold <sd...@gn...> * charstrg.d (coerce_char): no INPUT-CHARACTER without KEYBOARD --__--__-- Message: 3 From: Sam Steingold <sd...@us...> To: cli...@li... Subject: clisp/doc impent.xml,1.221,1.222 impbody.xml,1.388,1.389 Date: Thu, 23 Jun 2005 14:04:27 +0000 Reply-To: cli...@li... Update of /cvsroot/clisp/clisp/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17952/doc Modified Files: impent.xml impbody.xml Log Message: spelling: signalled->signaled Index: impbody.xml =================================================================== RCS file: /cvsroot/clisp/clisp/doc/impbody.xml,v retrieving revision 1.388 retrieving revision 1.389 diff -u -d -r1.388 -r1.389 --- impbody.xml 18 Jun 2005 17:21:34 -0000 1.388 +++ impbody.xml 23 Jun 2005 14:04:09 -0000 1.389 @@ -940,7 +940,7 @@ <formalpara id="appease-cerrors"><title>Macro &appease-cerrors;</title> <para>The macro <code>(&appease-cerrors; {&form-r;}*)</code> executes the &form-r;s; when a &cont-err; occurs whose &continue; &restart-t; - can be invoked non-interactively (this includes all &cont-err;s &signal;led + can be invoked non-interactively (this includes all &cont-err;s &signal;ed by the function &cerror;), it is reported as a &warning-t;, and the &continue; &restart-t; is invoked.</para></formalpara> @@ -2698,7 +2698,7 @@ <constant>EXT:STABLEHASH-EQUAL</constant>.</para> <para>The <constant>:WARN-IF-NEEDS-REHASH-AFTER-GC</constant> argument, -if true, causes a &warning-t; to be &signal;led when an object is stored +if true, causes a &warning-t; to be &signal;ed when an object is stored into the table which will force table reorganizations at the first access of the table after each &gc;ion. This keyword argument can be used to check whether &stablehash-eq; Index: impent.xml =================================================================== RCS file: /cvsroot/clisp/clisp/doc/impent.xml,v retrieving revision 1.221 retrieving revision 1.222 diff -u -d -r1.221 -r1.222 --- impent.xml 22 Jun 2005 15:00:33 -0000 1.221 +++ impent.xml 23 Jun 2005 14:04:07 -0000 1.222 @@ -838,7 +838,7 @@ <!ENTITY charset-ascii "<link linkend='charset-ASCII'>ASCII character set</link>"> <!ENTITY ascii-pl-ext "a platform specific extension of the &charset-ascii;"> <!ENTITY ascii-iso-ext "an extension of the &charset-ascii;, suitable for the"> -<!ENTITY err-sig "&error-t; is &signal;led"> +<!ENTITY err-sig "&error-t; is &signal;ed"> <!ENTITY sig-err "&signal;s an &error-t;"> <!ENTITY clisp-only "<title>Implementation dependent: only in &clisp;.</title>"> --__--__-- Message: 4 From: Sam Steingold <sd...@us...> To: cli...@li... Subject: clisp/doc impext.xml,1.354,1.355 impent.xml,1.222,1.223 Date: Thu, 23 Jun 2005 14:24:08 +0000 Reply-To: cli...@li... Update of /cvsroot/clisp/clisp/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27230/doc Modified Files: impext.xml impent.xml Log Message: added a memory-as doc framework Index: impext.xml =================================================================== RCS file: /cvsroot/clisp/clisp/doc/impext.xml,v retrieving revision 1.354 retrieving revision 1.355 diff -u -d -r1.354 -r1.355 --- impext.xml 22 Jun 2005 15:35:41 -0000 1.354 +++ impext.xml 23 Jun 2005 14:24:04 -0000 1.355 @@ -2338,7 +2338,7 @@ &parse-c-type; into the internal format at macroexpansion time. </simpara></note> -<variablelist><title>special &ffi-pac; forms; &name-r; is any Lisp +<variablelist><title>High-level &ffi-pac; forms; &name-r; is any Lisp &symbol-t;; &cname-r; is a &string-t;.</title> <varlistentry id="def-c-type"> <term><code>(&def-c-type; &name-r; &ctype-r;)</code></term> @@ -2870,6 +2870,15 @@ </variablelist> +<variablelist id="dffi-low"><title>Low-level &ffi-pac; forms.</title> +<varlistentry id="memory-as"> + <term><code>(&memory-as; &addr-r; &type-r; &optional-amp; + &offset-r;)</code></term> + <term><code>(&setf (&memory-as; &addr-r; &type-r; &optional-amp; &offset-r;) + &value-r;)</code></term> + <listitem><simpara>FIXME</simpara></listitem></varlistentry> +</variablelist> + </section> <section id="dffi-types"><title>(Foreign) &c-lang; types</title> Index: impent.xml =================================================================== RCS file: /cvsroot/clisp/clisp/doc/impent.xml,v retrieving revision 1.222 retrieving revision 1.223 diff -u -d -r1.222 -r1.223 --- impent.xml 23 Jun 2005 14:04:07 -0000 1.222 +++ impent.xml 23 Jun 2005 14:24:06 -0000 1.223 @@ -515,6 +515,7 @@ <!ENTITY with-c-var "<link linkend='foreign-stack'><function>FFI:WITH-C-VAR</function></link>"> <!ENTITY with-foreign-object "<link linkend='foreign-stack'><function>FFI:WITH-FOREIGN-OBJECT</function></link>"> <!ENTITY with-foreign-string "<link linkend='foreign-stack-string'><function>FFI:WITH-FOREIGN-STRING</function></link>"> +<!ENTITY memory-as "<link linkend='memory-as'><function>FFI:MEMORY-AS</function></link>"> <!-- *** Byte code *** --> <!ENTITY block-const "<link linkend='comp-fun'><literal>block-const</literal></link>"> --__--__-- Message: 5 From: Sam Steingold <sd...@us...> To: cli...@li... Subject: clisp/src NEWS,1.253,1.254 Date: Thu, 23 Jun 2005 14:24:06 +0000 Reply-To: cli...@li... Update of /cvsroot/clisp/clisp/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27230/src Modified Files: NEWS Log Message: added a memory-as doc framework Index: NEWS =================================================================== RCS file: /cvsroot/clisp/clisp/src/NEWS,v retrieving revision 1.253 retrieving revision 1.254 diff -u -d -r1.253 -r1.254 --- NEWS 23 Jun 2005 11:25:11 -0000 1.253 +++ NEWS 23 Jun 2005 14:23:58 -0000 1.254 @@ -230,10 +230,10 @@ See <http://clisp.cons.org/impnotes.html#translate-pathname> and <http://clisp.cons.org/impnotes.html#translate-logpath> for details. -* New function ABSOLUTE-PATHNAME. +* New function EXT:ABSOLUTE-PATHNAME. See <http://clisp.cons.org/impnotes.html#absolute-pathname> for details. -* New function ELASTIC-NEWLINE and new FORMAT directive "~.". +* New function EXT:ELASTIC-NEWLINE and new FORMAT directive "~.". See <http://clisp.cons.org/impnotes.html#elastic-newline> and <http://clisp.cons.org/impnotes.html#format-dot> for details. Through this function, CLISP no longer produces spurious blank lines when @@ -265,34 +265,35 @@ functions defined in the lexical environment outside the MACROLET form now signal an error. Previously, this resulted in undefined behaviour. -* The FFI recognizes the c-type declaration (C-POINTER <c-type>) to +* The FFI recognizes the c-type declaration (FFI:C-POINTER <c-type>) to handle references without conversion to/from Lisp structures. See <http://clisp.cons.org/impnotes.html#c-pointer> for details. -* The FFI variable *FOREIGN-ENCODING* can now be a multibyte encoding. +* The FFI variable FFI:*FOREIGN-ENCODING* can now be a multibyte encoding. The warning "*FOREIGN-ENCODING*: reset to ASCII" at startup is gone. -* New FFI constructor functions FOREIGN-VARIABLE and FOREIGN-FUNCTION, - more operators are now exported (FOREIGN-VALUE, PARSE-C-TYPE). +* New FFI constructor functions FFI:FOREIGN-VARIABLE and FFI:FOREIGN-FUNCTION, + more operators are now exported (FFI:FOREIGN-VALUE, FFI:PARSE-C-TYPE). See <http://clisp.cons.org/impnotes.html#dffi-make-var> and <http://clisp.cons.org/impnotes.html#dffi-make-func> for details. -* FFI macro C-LINES can now be used to fine-tune +* FFI macro FFI:C-LINES can now be used to fine-tune initialization and finalization. See <http://clisp.cons.org/impnotes.html#c-lines> for details. -* New FFI function CLOSE-FOREIGN-LIBRARY can be used to unload a library. +* New FFI function FFI:CLOSE-FOREIGN-LIBRARY can be used to unload a library. See <http://clisp.cons.org/impnotes.html#dffi-close-lib> for details. -* New FFI low-level accessor MEMORY-AS. +* New FFI low-level accessor FFI:MEMORY-AS. + See <http://clisp.cons.org/impnotes.html#memory-as> for details. * Foreign functions and variables can now be documented using the - :DOCUMENTATION option to DEF-CALL-OUT and DEF-C-VAR. + :DOCUMENTATION option to FFI:DEF-CALL-OUT and FFI:DEF-C-VAR. * Buffered streams now are suitable for interactive streams. It is no longer necessary to use :BUFFERED NIL to avoid blocking in various situations. -* Function READ-BYTE-SEQUENCE takes a new keyword argument :INTERACTIVE. +* Function EXT:READ-BYTE-SEQUENCE takes a new keyword argument :INTERACTIVE. See <http://clisp.cons.org/impnotes.html#rd-by-seq> for details. * Methods on GRAY:STREAM-READ-BYTE-SEQUENCE and GRAY:STREAM-WRITE-BYTE-SEQUENCE @@ -301,7 +302,7 @@ * The possible values of the :WEAK argument of MAKE-HASH-TABLE are changed: Use :KEY-AND-VALUE instead of :EITHER, :KEY-OR-VALUE instead of :BOTH now. -* The :LIBRARY option argument to DEF-CALL-OUT and DEF-C-VAR is now +* The :LIBRARY option argument to EXT:DEF-CALL-OUT and EXT:DEF-C-VAR is now evaluated (i.e., it can now be a variable) and may take a value of :DEFAULT and :NEXT in addition to being a string as before. See <http://clisp.cons.org/impnotes.html#def-c-var> and --__--__-- Message: 6 From: Sam Steingold <sd...@us...> To: cli...@li... Subject: clisp/doc common.xsl,1.14,1.15 Date: Thu, 23 Jun 2005 20:30:51 +0000 Reply-To: cli...@li... Update of /cvsroot/clisp/clisp/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10025/doc Modified Files: common.xsl Log Message: DocBook: [acronym]FOO[remark]BAR[/remark][/acronym] XHTML: [acronym title="BAR"]FOO[/acronym] Index: common.xsl =================================================================== RCS file: /cvsroot/clisp/clisp/doc/common.xsl,v retrieving revision 1.14 retrieving revision 1.15 diff -u -d -r1.14 -r1.15 --- common.xsl 4 Feb 2005 16:30:29 -0000 1.14 +++ common.xsl 23 Jun 2005 20:30:48 -0000 1.15 @@ -83,6 +83,18 @@ <xsl:text> </xsl:text></xsl:if> </xsl:template> +<!-- DocBook: [acronym]FOO[remark]BAR[/remark][/acronym] + XHTML: [acronym title="BAR"]FOO[/acronym] --> +<xsl:template match="acronym"> + <acronym> + <xsl:attribute name="title"> + <xsl:value-of select="remark"/> + </xsl:attribute> + <xsl:apply-imports/> + </acronym> +</xsl:template> +<xsl:template match="acronym/remark"/> + <xsl:param name="generate.section.toc.level" select="10"/> <xsl:param name="toc.section.depth" select="10"/> <xsl:param name="toc.max.depth" select="3"/> --__--__-- Message: 7 From: Sam Steingold <sd...@us...> To: cli...@li... Subject: clisp/doc impext.xml,1.355,1.356 Date: Thu, 23 Jun 2005 20:32:18 +0000 Reply-To: cli...@li... Update of /cvsroot/clisp/clisp/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10678/doc Modified Files: impext.xml Log Message: typo Index: impext.xml =================================================================== RCS file: /cvsroot/clisp/clisp/doc/impext.xml,v retrieving revision 1.355 retrieving revision 1.356 diff -u -d -r1.355 -r1.356 --- impext.xml 23 Jun 2005 14:24:04 -0000 1.355 +++ impext.xml 23 Jun 2005 20:32:14 -0000 1.356 @@ -2874,7 +2874,7 @@ <varlistentry id="memory-as"> <term><code>(&memory-as; &addr-r; &type-r; &optional-amp; &offset-r;)</code></term> - <term><code>(&setf (&memory-as; &addr-r; &type-r; &optional-amp; &offset-r;) + <term><code>(&setf; (&memory-as; &addr-r; &type-r; &optional-amp; &offset-r;) &value-r;)</code></term> <listitem><simpara>FIXME</simpara></listitem></varlistentry> </variablelist> --__--__-- Message: 8 From: Sam Steingold <sd...@us...> To: cli...@li... Subject: clisp/doc cl-ent.xml,1.89,1.90 Date: Thu, 23 Jun 2005 20:31:23 +0000 Reply-To: cli...@li... Update of /cvsroot/clisp/clisp/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10371/doc Modified Files: cl-ent.xml Log Message: (ilu): new entity Index: cl-ent.xml =================================================================== RCS file: /cvsroot/clisp/clisp/doc/cl-ent.xml,v retrieving revision 1.89 retrieving revision 1.90 diff -u -d -r1.89 -r1.90 --- cl-ent.xml 16 Jun 2005 13:35:32 -0000 1.89 +++ cl-ent.xml 23 Jun 2005 20:31:20 -0000 1.90 @@ -15,6 +15,7 @@ <!ENTITY clos "<ulink url='&clhs;/Body/chap-7.html'><command>CLOS</command></ulink>"> <!ENTITY clcs "<ulink url='&clhs;/Body/chap-9.html'><command>CLCS</command></ulink>"> <!ENTITY clx "<ulink url='http://www.cliki.net/CLX'><command>CLX</command></ulink>"> +<!ENTITY ilu "<ulink url='http://www2.parc.com/istl/projects/ILU/'><acronym>ILU<remark>Inter-Language Unification</remark></acronym></ulink>"> <!ENTITY ansi-cl "<citation><link linkend='ansi-cl'>ANSI CL standard</link></citation>"> <!ENTITY ansi-cl-bib --__--__-- Message: 9 From: Sam Steingold <sd...@us...> To: cli...@li... Subject: clisp/doc impext.xml,1.356,1.357 Date: Thu, 23 Jun 2005 20:33:23 +0000 Reply-To: cli...@li... Update of /cvsroot/clisp/clisp/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11043/doc Modified Files: impext.xml Log Message: use &ilu; Index: impext.xml =================================================================== RCS file: /cvsroot/clisp/clisp/doc/impext.xml,v retrieving revision 1.356 retrieving revision 1.357 diff -u -d -r1.356 -r1.357 --- impext.xml 23 Jun 2005 20:32:14 -0000 1.356 +++ impext.xml 23 Jun 2005 20:33:21 -0000 1.357 @@ -2896,8 +2896,8 @@ <informaltable id="simple-c-type-tab" frame="all"> <tgroup cols="5" colsep="1" rowsep="1" align="center"> <thead><row><entry>Lisp name</entry><entry>Lisp equivalent</entry> - <entry>&c-lang; equivalent</entry><entry>ILU - equivalent</entry><entry>Comment</entry></row></thead><tbody> + <entry>&c-lang; equivalent</entry><entry>&ilu; equivalent</entry> + <entry>Comment</entry></row></thead><tbody> <row><entry>&nil;</entry><entry>&nil;</entry><entry><type>void</type></entry> <entry/><entry>as a result type only</entry></row> <row><entry>&boolean-t;</entry><entry>&boolean-t;</entry> --__--__-- Message: 10 From: Sam Steingold <sd...@us...> To: cli...@li... Subject: clisp/doc impext.xml,1.357,1.358 Date: Thu, 23 Jun 2005 20:35:22 +0000 Reply-To: cli...@li... Update of /cvsroot/clisp/clisp/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12191/doc Modified Files: impext.xml Log Message: use <remark> for <acronym> amplification Index: impext.xml =================================================================== RCS file: /cvsroot/clisp/clisp/doc/impext.xml,v retrieving revision 1.357 retrieving revision 1.358 diff -u -d -r1.357 -r1.358 --- impext.xml 23 Jun 2005 20:33:21 -0000 1.357 +++ impext.xml 23 Jun 2005 20:35:19 -0000 1.358 @@ -4343,22 +4343,22 @@ &optional-amp; <replaceable>service-name</replaceable> (<replaceable>protocol</replaceable> "tcp"))</code></term> <listitem><simpara>A convenience function for looking up a port given - the service name. It returns the servent struct as &mul-val; - (name, list of aliases, port, protocol) for the given - <replaceable>service-name</replaceable> and - <replaceable>protocol</replaceable>, or all services as the list of - <literal role="type">(&simple-vector-t; 4)</literal> - if <replaceable>service-name</replaceable> is not given or is - &default-k; or &nil;.</simpara></listitem></varlistentry> + the service name. It returns the servent struct as &mul-val; + (name, list of aliases, port, protocol) for the given + <replaceable>service-name</replaceable> and + <replaceable>protocol</replaceable>, or all services as the list of + <literal role="type">(&simple-vector-t; 4)</literal> + if <replaceable>service-name</replaceable> is not given or is + &default-k; or &nil;.</simpara></listitem></varlistentry> <varlistentry id="sost-peer"><term><code>(&sost-peer; &sost-r; [<replaceable>do-not-resolve-p</replaceable>])</code></term> <listitem><simpara>Given a &socket-stream;, this function returns the - name of the host on the opposite side of the connection and its port - number; the server-side can use this to see who connected.</simpara> + name of the host on the opposite side of the connection and its port + number; the server-side can use this to see who connected.</simpara> <simpara>When the optional second argument is non-&nil;, the hostname - resolution is disabled and just the IP address is returned, without - the <acronym>FQDN</acronym> (Fully Qualified Domain Name). - </simpara></listitem></varlistentry> + resolution is disabled and just the IP address is returned, without + the <acronym>FQDN<remark>Fully Qualified Domain Name</remark></acronym>. + </simpara></listitem></varlistentry> <varlistentry id="sost-local"><term><code>(&sost-local; &sost-r; [<replaceable>do-not-resolve-p</replaceable>])</code></term> <listitem><simpara>The dual to &sost-peer; - same information, --__--__-- _______________________________________________ clisp-cvs mailing list cli...@li... https://lists.sourceforge.net/lists/listinfo/clisp-cvs End of clisp-cvs Digest |