Generic Function | Package: net.jlinker | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Moderate update since 9.0 release. 8.2 version

## wrap-object

Arguments: object-registry lisp-object &optional type-or-style

This function was incorrectly documented in the original release and has been corrected in an update. (The argument list has 1, not 2, optional arguments and the text is changed.)

Transform a Lisp object into a representation that can be passed to Java. If the Lisp value has an equivalent representation in Java, it is passed by value; otherwise a remote reference to the Lisp object is created.

The first argument must be `nil`. The second argument is the Lisp object. The optional argument is used to specify the type that Java will see or to override passing by value. If the optional argument is `:ref` then a remote reference is always created. The other possible values of the optional argument are shown in the description of make-immediate-object.

See jlinker.htm for more information on the jLinker facility.

This function replaces the deprecated function make-dist-object.

Copyright (c) 1998-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.2 page.
Created 2012.5.30.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Moderate update since 9.0 release. 8.2 version