home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!nntp1.radiomail.net!portal!apple!cambridge.apple.com!poeck@winx03.informatik.uni-wuerzburg.de
- From: poeck@informatik.uni-wuerzburg.de (Karsten Poeck)
- Newsgroups: comp.lang.lisp.mcl
- Subject: record pattern
- Message-ID: <9208161619.AA04553@winx03.informatik.uni-wuerzburg.de>
- Date: 16 Aug 92 16:19:20 GMT
- Sender: info-mcl-request@cambridge.apple.com
- Lines: 39
- Approved: comp.lang.lisp.mcl@Cambridge.Apple.C0M
- Original-To: info-mcl@cambridge.apple.com
- Original-Cc: poeck@informatik.uni-wurzburg.de
- X-Mailer: ELM [version 2.3 PL0]
-
- to info-mcl@cambridge.apple.com
- cc poeck@informatik.uni-wurzburg.de
-
- I am a little bit confused by the different definitions of the record
- type
- pattern in records.lisp being
-
- (defrecord pattern
- (variant ((w0 integer)
- (w1 integer)
- (w2 integer)
- (w3 integer))
- ((b0 byte)
- (b1 byte)
- (b2 byte)
- (b3 byte)
- (b4 byte)
- (b5 byte)
- (b6 byte)
- (b7 byte))
- ((bytes (array byte 8)))
- ((array (array :unsigned-byte 8)))))
-
- which is fine for use because we have used the b0 , bn variant in our
- program
- but which is commented
- and the version in
-
- interfaces:quickdraw.lisp which is
-
- (defrecord (Pattern :handle) (array (array :unsigned-byte 8)))
-
- which definition of pattern is the best one? Is it safe to replace the
- definition in quickdraw by the one in records
-
- Karsten Poeck
- Universitaet Wuerzburg
-
- poeck@informatik.uni-wurzburg.de
-