| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version |
Arguments: type &optional size
This function is defined by the ACLWIN compatibility package. It is loaded with
(require :aclwffi)
However, it is for compatibility with Allegro CL 4.3.2, an early release of the UNIX product on Windows which had limited distribution, not compatibility with Allegro CL 3.0.x on Windows.
This function is provided for porting from Allegro CL 4.3.2 only and
users with 4.3.2 code calling this function are urged to convert the
call to an allocate-fobject call as quickly
as possible. (Use the allocation argument of allocate-fobject to
specify where the allocation should occur. Specify
:c
for allocation to get behavior equivalent to
this macro.)
This function allocates an object of the given type in the C heap. If the size argument is given, then it is the minimum size (in bytes) of the data portion of the object that will be allocated. The object will not be moved by the garbage collector. The object will not be automatically reclaimed. To return the space to the C heap, call free-fobject-c. This object is represented in lisp by an integer (which points to the beginning of the object in memory).
See ftype.htm for information on foreign types in Allegro CL and foreign-functions.htm for general information on foreign functions in Allegro CL.
Copyright (c) 1998-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version |