----- Original Message ----- 
From: "Eric Wilhelm" <[EMAIL PROTECTED]>

> The portable macro version of this can be found at:
>
>
http://scratchcomputing.com/svn/Math-Geometry-Planar-GPC/trunk/code/Math/Geometry/Planar/GPC/Polygon/functions.c
>

Just idly browsing through the code and I noticed:

SV* new (char* class) {
        gpc_polygon* p = malloc(sizeof(gpc_polygon));

whereas I would expect something like:

SV* new (char* class) {
        gpc_polygon* p;
New(42, p, 1, gpc_polygon);

Any particular reason for the former, as opposed to the latter ?

Cheers,
Rob

Reply via email to