Changeset 5055


Ignore:
Timestamp:
12/10/03 17:55:06 (17 years ago)
Author:
piso
Message:

(defmethod allocate-instance ((class structure-class) &rest initargs) ...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/j/src/org/armedbear/lisp/clos.lisp

    r5054 r5055  
    22;;;
    33;;; Copyright (C) 2003 Peter Graves
    4 ;;; $Id: clos.lisp,v 1.30 2003-12-10 17:31:01 piso Exp $
     4;;; $Id: clos.lisp,v 1.31 2003-12-10 17:55:06 piso Exp $
    55;;;
    66;;; This program is free software; you can redistribute it and/or
     
    14181418  (std-allocate-instance class))
    14191419
     1420(defmethod allocate-instance ((class structure-class) &rest initargs)
     1421  (%make-structure (class-name class)
     1422                   (make-list (length (class-slots class))
     1423                              :initial-element +slot-unbound+)))
     1424
    14201425(defgeneric make-instance (class &key))
    14211426
Note: See TracChangeset for help on using the changeset viewer.