CFTE+DevIL=?

Piotr Szturmaj bncrbme at jadamspam.pl
Mon Oct 8 06:44:54 PDT 2012


Zhenya wrote:
> Hi!
> I need to load some textures for my game,but I woud like to do it in
> compile time.
> I know that CTFE imposes restrictions on functions.So can I execute some
> DevIL(Derelict3) functions?

CTFE can only evaluate D functions that have their bodies available. It 
means that external code coming from C or D external library can't be 
evaluated.


More information about the Digitalmars-d-learn mailing list