eval?
eval?
- Subject: eval?
- From: Louis-Philippe <email@hidden>
- Date: Mon, 31 May 2010 13:11:05 -0400
Correct me if I am wrong, but there is no way in objective-c to do a runtime
string execution for which the responding object is not an Objective-C
class?
like, if I have a c++ lib I would like to call from within an Objective-c
class, assuming a call like:
const char * retValue = MyExtLib::ExtLibSymbol;
I would like to be able to dispatch dynamically, something like:
const char * retValue = eval( [NSString
stringWithFormat@"MyExtLib::%@",symbolString]
);
any thoughts on making this possible?
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden