guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: heads up: goops class export


From: Ludovic Courtès
Subject: Re: heads up: goops class export
Date: Tue, 03 May 2011 14:19:43 +0200
User-agent: Gnus/5.110017 (No Gnus v0.17) Emacs/24.0.50 (gnu/linux)

Hello!

Andy Wingo <address@hidden> writes:

> On Tue 03 May 2011 10:50, address@hidden (Ludovic Courtès) writes:
>
>> Andy Wingo <address@hidden> 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

[Prev in Thread] Current Thread [Next in Thread]