discuss-gnustep
[Top][All Lists]
Advanced

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

NSInvocation and argframe errors


From: e.sammer
Subject: NSInvocation and argframe errors
Date: Sat, 16 Mar 2002 04:56:32 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020310

hello all...

i'm using NSInvocation to pack a bunch of selectors into a dictionary (as values) using strings (xml element names) as keys. when the parser executes, i'd like to have something like:

while (currentNode = [currentNode next]) {
[[selLookup objectForKey:[currentNode name]] setArgument:[currentNode content] atIndex:0];
  [[selLookup objectForKey:[currentNode name]] invokeWithTarget:self];
}

(this is a _highly_ simplified example)

what i'm getting is, at runtime:

Uncaught exception NSInternalInconsistencyException, reason: Runtime incorrectly configured to pass argframes

i have GNUstep compiled against ffcall. am i doing something that is not "normal?" i've done similar things on mosx with little trouble, so i just assumed it was standard usage of NSInvocation (ala NSTimer).

any help would be greatly appreciated.
--
e.sammer <eric@lifeless.net>




reply via email to

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