Variable | Package: ff | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version

## *pass-structs-by-value*

Determines how the foreign interface will respond to a structure passed into def-foreign-call as an argument, or returned from the same in the returning keyword argument. This variable also affects the behavior of defun-foreign-callable. The argument or return value can be specified C style as by value (without a *) or by reference (with a *).

See Passing structures by value in foreign-functions.htm for more information.

This variable can have the following values:

- `nil` - structs passed by value are converted to pass-by-reference when seen, silently, as was the old behavior.
- `:warn` - structs passed by value are converted to pass-by-reference when seen, and in addition a warning is issued. This is the default value.
- `t` - structs specified as passed by value are actually passed by value, making the interface consistent with C calling conventions.

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 Unrevised from 8.2 to 9.0. 8.2 version