On Sun, 30 Dec 2001 12:24:21 +0100 (CET) Manuel Guesdon <[EMAIL PROTECTED]> wrote:

 >| In NSObject.m GSGetValue() doesn't support method which doesn't return a value.
 >| Here is the part of the code:
 >|   if (type == NULL)
 >|     {
 >|       return [self handleQueryWithUnboundKey: key];
 >|    }

Sorry, the missing part is:
          case _C_VOID:
            {
              void        (*imp)(id, SEL) =
                (void (*)(id, SEL))[self methodForSelector: sel];
              
              (*imp)(self, sel);
            }
            val = nil;
            break;


--
______________________________________________________________________
Manuel Guesdon - OXYMIUM <[EMAIL PROTECTED]>
14 rue Jean-Baptiste Clement  -  93200 Saint-Denis  -  France
Tel: +33 1 4940 0999  -  Fax: +33 1 4940 0998


_______________________________________________
Bug-gnustep mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to