How to do a function pointer to "malloc" and "free"?

Elmar chrehme at gmx.de
Sun Oct 10 13:59:09 UTC 2021


On Sunday, 10 October 2021 at 13:52:57 UTC, Elmar wrote:
>
> The language subset "BetterC" is required for calling D 
> functions from C though. Unfortunately, the runtime features of 
> BetterC are limited and some of C's language features aren't 
> availabe like C99 variable-length-arrays. "BetterC" is like 
> programming in C with little more comfort but phobos is 
> unusable which makes BetterC almost no improvement over C. 
> BetterC helper librarys like Tanya or Tango do exist.
> 

Oh well, I could also be wrong with BetterC support of Tanya and 
Tango but both are alterantives to Phobos.


More information about the Digitalmars-d-learn mailing list