[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: compiler interaction with inline.

Dan Stanger asks:
> how can i insure that functions generated by defstruct get
> expanded inline.

In Common Lisp in general, you can't, because the compiler is not required
to pay attention to (PROCLAIM (INLINE ...)) at all.

In CLISP, just compile the file containing the defstruct. And make sure
that you have loaded this file when you compile other files which make
use of the defstruct accessors.

Bruno Haible                                     email: <haible@ilog.fr>
Software Engineer                                phone: +33-1-49083585