Open teuben opened 3 months ago
the full list includes snapcmp, quadforce, snapmstat
The proper protype should be:
local int cmpreal(const void *ap, const void *bp)
{
real *a = (real *) ap;
real *b = (real *) bp;
return (*a < *b ? -1 : *a > *b ? 1 : 0);
}
For future strict compilers: snapgrid and snapmradii warn about incompatible function pointer usage. this now failed on a recent mac, but not on current linux yet (gcc 14 also fails this)