Re: OS X support

2015-05-10 Thread Jacob Carlborg via Digitalmars-d-announce

On 2015-05-08 22:37, FreeSlave wrote:

OS X support added. It dynamically loads some Carbon functions. But path
to the framework is hardcoded as
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore

I'm not sure that it's ok, need advice from OS X programmers.


The documentation [1] recommends using URLsForDirectory:inDomains:, 
but that is an Objective-C method.


[1] 
https://developer.apple.com/library/ios/documentation/FileManagement/Conceptual/FileSystemProgrammingGuide/AccessingFilesandDirectories/AccessingFilesandDirectories.html#//apple_ref/doc/uid/TP40010672-CH3-SW1


--
/Jacob Carlborg


OS X support

2015-05-08 Thread FreeSlave via Digitalmars-d-announce
OS X support added. It dynamically loads some Carbon functions. 
But path to the framework is hardcoded as 
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore

I'm not sure that it's ok, need advice from OS X programmers.