CTFE with C functions not possible?

Shriramana Sharma via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Jan 1 02:15:21 PST 2016


Rikki Cattermole wrote:

> Either port it to D and extern(C) it so it is accesible from other
> languages or not have CTFE support.

I already wrote it in D, then I ported to C with much effort. The option to 
extern(C)-ing it didn't occur to me. :-( Also, the D version is really much 
too bulky.

I suppose I could always maintain both the C and D versions separately.

-- 
Shriramana Sharma, Penguin #395953


More information about the Digitalmars-d-learn mailing list