discuss-gnustep
[Top][All Lists]
Advanced

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

Re: super in gnustep-guile


From: Adam Fedor
Subject: Re: super in gnustep-guile
Date: Fri, 27 Jun 2003 14:17:41 -0600


On Friday, June 27, 2003, at 03:58 AM, Damien Genet wrote:

Hi,


Le mer 04/06/2003 à 00:41, Damien Genet a écrit :
We have a new problem while using gnustep-guile.
When we define a new instance method through a guile procedure, self is
a parameter of this procedure, but how can we access super ?

Any help for this ?


Well in Objective-C you can do

s = [self superclass];

or through the runtime:

s = object_get_super_class(self);

I think it should be relatively easy to convert that to scheme.





reply via email to

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