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

Re: [sc-dev] CocoaDialog again



    PyrSlot *receiver = g->sp - 1; // CocoaDialog class
    PyrSlot *array = g->sp; // an array
dumpObjectSlot(receiver);
    SCDialog *dialog = [SCDialog receiver: receiver returnSlot: array ];


the receiver is the CocoaDialog class object.

but after the dialog has been run:

-(void)ok
{
    printf("ok ->\n");

    dumpObjectSlot( receiver );



the receiver now points at some garbage, a Float


so the stack has been rearranged ?
how does this work ?

how can i store an sc object in an objective c object ?


-felix