[armedbear-devel] class-prototype
Alan Ruttenberg
alanruttenberg at gmail.com
Wed Mar 10 17:43:41 UTC 2010
Hi,
Thanks for adding class-prototype. Unfortunately I realize that the
specification doesn't guarantee the behavior I was looking for, so I
though I would solicit advise.
Basically I want to be able to access class-allocated slot values
before I create any real instances. I thought I could grab the class
prototype and do slot value on them, but according to the doc below
initialize is not called, which I guess is when class-allocated slots
are being set up.
Is there a portable way of asking for the values of class slots absent
the creation of at least one initialized instance?
-Alan
http://www.franz.com/support/documentation/8.2/doc/mop/dictionary.html#class-prototype
Generic Function class-prototype class
Returns a prototype instance of class. Whether the instance is
initialized is not specified. The results are undefined if a portable
program modifies the binding of any slot of prototype instance.
This generic function signals an error if class has not been finalized.
More information about the armedbear-devel
mailing list