VariablePackage: ffToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.2
New since 8.2 release.

*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. The argument or return value can be specified C style as by value (without a *) or by reference (with a *). Allegro CL previously only supported by reference so by value specifications were silently converted to by reference specifications. Since both are now supported, existing code which depended on that silent conversion must be handled correctly and this variable controls that handling. Note that by reference specification (with a *) will always be made by reference and by value specification (without a *) will be made by value or by reference depending on the value of this variable or, alternatively, by the value of the pass-structs-by-value argument to def-foreign-call.

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

This variable can have the following values:


Copyright (c) 1998-2015, Franz Inc. Oakland, CA., USA. All rights reserved.
Documentation for Allegro CL version 8.2. This page is new in the 8.2 release.
Created 2010.1.21.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.2
New since 8.2 release.