digitalmars.D.learn - Pure and C functions
- Jonathan M Davis (2/2) Nov 08 2010 Is there any way to make a function which calls C functions pure?
- Don (4/7) Nov 09 2010 Just mark the C function as pure, if it's truly pure. If it isn't really...
Is there any way to make a function which calls C functions pure? - Jonathan M Davis
Nov 08 2010
Jonathan M Davis wrote:Is there any way to make a function which calls C functions pure? - Jonathan M DavisJust mark the C function as pure, if it's truly pure. If it isn't really pure, you'll have to use a cast (eg, by taking its address and then casting the function pointer).
Nov 09 2010