Scieneer Common Lisp 1.3.9 online documentation

alien:make-alien type &optional size[Macro]

Allocate an alien of type type and return an alien pointer to it. If size is supplied, how it is interpreted depends on type. If type is an array type, size is used as the first dimension for the allocated array. If type is not an array, then size is the number of elements to allocate. The memory is allocated using ``malloc'', so it can be passed to foreign functions which use ``free''.