Hello!

Andy Wingo <wi...@pobox.com> writes:

> On Tue 03 May 2011 10:50, l...@gnu.org (Ludovic Courtès) writes:
>
>> Andy Wingo <wi...@pobox.com> writes:
>>
>>> Currently when you define a SMOB type or set a name on a vtable, a
>>> corresponding class is automatically exported from (oop goops).  This
>>> breaks modularity, and I think we should stop doing it in 2.2.
>>
>> I agree that they should not be exported from (oop goops).
>>
>> However, how should GOOPS users access these classes then?  There needs
>> to be a way to get the class object associated with a SMOB type, for
>> instance.
>
> Hum, a good question!  Perhaps smob-name->class,

Yes, why not.  (It’s equivalent to (@@ (oop goops) foobar) in terms of
providing access to everyone, though.)

Thanks,
Ludo’.

Reply via email to