r = dcone, a = brendan
OS/2 bringup - PR_CALLBACK for VisualAge
This commit is contained in:
mkaply%us.ibm.com 2000-06-07 01:12:46 +00:00
parent 454a54290e
commit eab2374b6a
2 changed files with 4 additions and 4 deletions

View File

@ -31,8 +31,8 @@
const nsPoint *gPts; const nsPoint *gPts;
// comparison routines for qsort // comparison routines for qsort
PRInt32 compare_ind(const void *u,const void *v){return gPts[(PRInt32)*((PRInt32*)u)].y <= gPts[(PRInt32)*((PRInt32*)v)].y ? -1 : 1;} PRInt32 PR_CALLBACK compare_ind(const void *u,const void *v){return gPts[(PRInt32)*((PRInt32*)u)].y <= gPts[(PRInt32)*((PRInt32*)v)].y ? -1 : 1;}
PRInt32 compare_active(const void *u,const void *v){return ((Edge*)u)->x <= ((Edge*)v)->x ? -1 : 1;} PRInt32 PR_CALLBACK compare_active(const void *u,const void *v){return ((Edge*)u)->x <= ((Edge*)v)->x ? -1 : 1;}
/** --------------------------------------------------- /** ---------------------------------------------------

View File

@ -31,8 +31,8 @@
const nsPoint *gPts; const nsPoint *gPts;
// comparison routines for qsort // comparison routines for qsort
PRInt32 compare_ind(const void *u,const void *v){return gPts[(PRInt32)*((PRInt32*)u)].y <= gPts[(PRInt32)*((PRInt32*)v)].y ? -1 : 1;} PRInt32 PR_CALLBACK compare_ind(const void *u,const void *v){return gPts[(PRInt32)*((PRInt32*)u)].y <= gPts[(PRInt32)*((PRInt32*)v)].y ? -1 : 1;}
PRInt32 compare_active(const void *u,const void *v){return ((Edge*)u)->x <= ((Edge*)v)->x ? -1 : 1;} PRInt32 PR_CALLBACK compare_active(const void *u,const void *v){return ((Edge*)u)->x <= ((Edge*)v)->x ? -1 : 1;}
/** --------------------------------------------------- /** ---------------------------------------------------