[armedbear-cvs] r13866 - in trunk/abcl: doc/manual src/org/armedbear/lisp

mevenson at common-lisp.net mevenson at common-lisp.net
Tue Feb 7 16:36:33 UTC 2012


Author: mevenson
Date: Tue Feb  7 08:36:32 2012
New Revision: 13866

Log:
Promote JAVA:JARRAY-FROM-LIST to the public API.

Re-run grovel on the docstrings.

Modified:
   trunk/abcl/doc/manual/extensions.tex
   trunk/abcl/doc/manual/java.tex
   trunk/abcl/doc/manual/threads.tex
   trunk/abcl/src/org/armedbear/lisp/autoloads.lisp

Modified: trunk/abcl/doc/manual/extensions.tex
==============================================================================
--- trunk/abcl/doc/manual/extensions.tex	Tue Feb  7 06:53:22 2012	(r13865)
+++ trunk/abcl/doc/manual/extensions.tex	Tue Feb  7 08:36:32 2012	(r13866)
@@ -85,7 +85,7 @@
 --- Function: \textbf{process-kill} [\textbf{extensions}] \textit{process}
 
 \begin{adjustwidth}{5em}{5em}
-not-documented
+Kills the process.
 \end{adjustwidth}
 
 \paragraph{}

Modified: trunk/abcl/doc/manual/java.tex
==============================================================================
--- trunk/abcl/doc/manual/java.tex	Tue Feb  7 06:53:22 2012	(r13865)
+++ trunk/abcl/doc/manual/java.tex	Tue Feb  7 08:36:32 2012	(r13866)
@@ -114,7 +114,9 @@
 --- Function: \textbf{jclass-of} [\textbf{java}] \textit{object \&optional name}
 
 \begin{adjustwidth}{5em}{5em}
-not-documented
+Returns the name of the Java class of OBJECT. If the NAME argument is
+  supplied, verifies that OBJECT is an instance of the named class. The name
+  of the class or nil is always returned as a second value.
 \end{adjustwidth}
 
 \paragraph{}
@@ -353,7 +355,20 @@
 --- Function: \textbf{jclass-name} [\textbf{java}] \textit{class-ref \&optional name}
 
 \begin{adjustwidth}{5em}{5em}
-not-documented
+When called with one argument, returns the name of the Java class
+  designated by CLASS-REF. When called with two arguments, tests
+  whether CLASS-REF matches NAME.
+\end{adjustwidth}
+
+\paragraph{}
+\label{JAVA:JARRAY-FROM-LIST}
+\index{JARRAY-FROM-LIST}
+--- Function: \textbf{jarray-from-list} [\textbf{java}] \textit{list}
+
+\begin{adjustwidth}{5em}{5em}
+Return a Java array from LIST whose type is inferred from the first element.
+
+For more control over the type of the array, use JNEW-ARRAY-FROM-LIST.
 \end{adjustwidth}
 
 \paragraph{}

Modified: trunk/abcl/doc/manual/threads.tex
==============================================================================
--- trunk/abcl/doc/manual/threads.tex	Tue Feb  7 06:53:22 2012	(r13865)
+++ trunk/abcl/doc/manual/threads.tex	Tue Feb  7 08:36:32 2012	(r13866)
@@ -4,7 +4,7 @@
 --- Function: \textbf{mailbox-empty-p} [\textbf{threads}] \textit{mailbox}
 
 \begin{adjustwidth}{5em}{5em}
-not-documented
+Returns non-NIL if the mailbox can be read from, NIL otherwise.
 \end{adjustwidth}
 
 \paragraph{}

Modified: trunk/abcl/src/org/armedbear/lisp/autoloads.lisp
==============================================================================
--- trunk/abcl/src/org/armedbear/lisp/autoloads.lisp	Tue Feb  7 06:53:22 2012	(r13865)
+++ trunk/abcl/src/org/armedbear/lisp/autoloads.lisp	Tue Feb  7 08:36:32 2012	(r13866)
@@ -250,6 +250,8 @@
 (autoload 'jnew-array-from-array "java")
 (export 'jnew-array-from-list "JAVA")
 (autoload 'jnew-array-from-list "java")
+(export 'jarray-from-list "JAVA")
+(autoload 'jarray-from-list "java")
 (export 'jclass-constructors "JAVA")
 (autoload 'jclass-constructors "java")
 (export 'jconstructor-params "JAVA")




More information about the armedbear-cvs mailing list