How to convert from an OSString to an OSNumber ?
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com I am passing in a sequence of numbers as an OSString. I am able to parse out the five fields based on a delimiter character. So now I have five strings that are actually representing numeric data. I am trying to convert the strings into OSNumbers but without success. OSDynamicCast() does not seem to allow operations of type: OSDynamicCast(OSNumber, OSString) or OSDynamicCast(OSNumber, OSString->getCStringNoCopy()) Can anyone provide me w/some help in this ? Thanks, Brian Jorgage _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
Brian Jorgage