Changeset main,68 for main


Ignore:
Timestamp:
11/24/2007 02:53:56 AM (19 years ago)
Author:
David Owen <dsowen@…>
branch-nick:
tui
revision id:
dsowen@fugue88.ws-20071124025356-uw0kv5znpa73es5e
Message:

Automatically coerce the data to a vector.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/grid/hash-data.lisp

    r60 r68  
    66  ((row-tables :type (vector hash-table) :initarg :row-tables)
    77   (keys :type vector :initarg :keys)))
     8
     9(defmethod initialize-instance ((data hash-per-row-grid-data) &rest init-args
     10                                &key row-tables keys &allow-other-keys)
     11  (apply #'call-next-method
     12         data
     13         :row-tables (coerce row-tables 'vector)
     14         :keys (coerce keys 'vector)
     15         init-args))
    816
    917(defmethod rows ((d hash-per-row-grid-data))
Note: See TracChangeset for help on using the changeset viewer.