[Bf-committers] Accessing Files (new config locations, fopen wrapper, etc)

Damien Plisson damien.plisson at yahoo.fr
Fri Apr 2 22:01:18 CEST 2010


Hi Brecht,

Le 2 avr. 2010 à 13:17, Brecht Van Lommel a écrit :
> 
>> The functions getSystemDir and getUserDir are added to GHOST, which adds
>> a pretty nasty dependency to BLI_blenlib - have you any idea on how to
>> solve this?
> 
> I also don't really see the reason to do this, there is already
> platform abstraction code in blenlib. If mac needs an objective-c .m
> file in blenlib I don't see why that wouldn't work. I'm not against
> GHOST becoming a platform abstraction library but this seems like a
> strange exception.

Yes, I was seeing GHOST as the platform abstraction library, especially as mac needs obj-c.
Anyway, if it's better to have a clear separation between those two libs, it's sure possible to add a .m file in blenlib.

I let you take this architecture decision ;)

Cheers,
Damien


More information about the Bf-committers mailing list