[Ecls-list] defstruct/init problem

Hannu Koivisto azure at iki.fi
Wed Feb 13 03:57:05 UTC 2002


Hannu Koivisto <azure at iki.fi> writes:

> What puzzles me is that for example loop2.lsp uses defstruct but no
> call to ensure-class is generated into init_LSP_LOOP2.

Sorry for the noise, I figured it out.  defstruct expands to
defclass if clos is in features and :type has not been specified.
loop2's structures have been kludged to use (:type vector) so they
don't cause problems.

Hm.  I think I need real structures so I probably better move my
code out of liblsp (which is probably a good idea anyway).

-- 
Hannu
Please don't send copies of list mail




More information about the ecl-devel mailing list