How to pass a null pointer to a C function

Mike Parker aldacron at gmail.com
Sat Nov 30 20:05:17 PST 2013


On 12/1/2013 12:46 PM, Craig Dillabaugh wrote:

>
> Is there an accepted 'proper' way of passing NULL pointers to C
> functions from D?

shape_ptrs ~= SHPCreateSimpleObject( SHPT_POLYGON, to!int(x1.length),
                         x1.ptr, y1.ptr, null );



More information about the Digitalmars-d-learn mailing list