Hi,

I use LKSendMessage for writing the binding to gnu-smalltalk. 
I had pick most of the implementation from the LanguageKit.
(I don't know if LanguageKit build on osx without gnustep)

But I cam across an issue when sending a message with integer parameter like:

NSWindows class>>#initWithContentRectPointer:styleMask:backing:defer:

LKSendMessage unbox does integer as follow:


        case 'I':
            *(unsigned int*)dest = [value unsignedIntValue];
            break;

>From gnu-smalltalk I can't build the NSNumber because I need to send a message 
like 

#numberWithInt: which should take a NSNumber as parameter...

Any idea on how to solve this recursion?

Thanks

--Mathieu


_______________________________________________
Etoile-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-discuss

Répondre à