#ifdef USE_C_FUNCTION_PRAGMAS
int sqr(int a);
int scale(int a, int d, int c);
int mulscale(int a, int d, int c);
int mulscale1(int a, int d);
int mulscale2(int a, int d);
int mulscale3(int a, int d);
int mulscale4(int a, int d);
int mulscale5(int a, int d);
int mulscale6(int a, int d);
int mulscale7(int a, int d);
int mulscale8(int a, int d);
int mulscale9(int a, int d);
int mulscale10(int a, int d);
int mulscale11(int a, int d);
int mulscale12(int a, int d);
int mulscale13(int a, int d);
int mulscale14(int a, int d);
int mulscale15(int a, int d);
int mulscale16(int a, int d);
int mulscale17(int a, int d);
int mulscale18(int a, int d);
int mulscale19(int a, int d);
int mulscale20(int a, int d);
int mulscale21(int a, int d);
int mulscale22(int a, int d);
int mulscale23(int a, int d);
int mulscale24(int a, int d);
int mulscale25(int a, int d);
int mulscale26(int a, int d);
int mulscale27(int a, int d);
int mulscale28(int a, int d);
int mulscale29(int a, int d);
int mulscale30(int a, int d);
int mulscale31(int a, int d);
int mulscale32(int a, int d);
int dmulscale(int a, int d, int S, int D, int c);
int dmulscale1(int a, int d, int S, int D);
int dmulscale2(int a, int d, int S, int D);
int dmulscale3(int a, int d, int S, int D);
int dmulscale4(int a, int d, int S, int D);
int dmulscale5(int a, int d, int S, int D);
int dmulscale6(int a, int d, int S, int D);
int dmulscale7(int a, int d, int S, int D);
int dmulscale8(int a, int d, int S, int D);
int dmulscale9(int a, int d, int S, int D);
int dmulscale10(int a, int d, int S, int D);
int dmulscale11(int a, int d, int S, int D);
int dmulscale12(int a, int d, int S, int D);
int dmulscale13(int a, int d, int S, int D);
int dmulscale14(int a, int d, int S, int D);
int dmulscale15(int a, int d, int S, int D);
int dmulscale16(int a, int d, int S, int D);
int dmulscale17(int a, int d, int S, int D);
int dmulscale18(int a, int d, int S, int D);
int dmulscale19(int a, int d, int S, int D);
int dmulscale20(int a, int d, int S, int D);
int dmulscale21(int a, int d, int S, int D);
int dmulscale22(int a, int d, int S, int D);
int dmulscale23(int a, int d, int S, int D);
int dmulscale24(int a, int d, int S, int D);
int dmulscale25(int a, int d, int S, int D);
int dmulscale26(int a, int d, int S, int D);
int dmulscale27(int a, int d, int S, int D);
int dmulscale28(int a, int d, int S, int D);
int dmulscale29(int a, int d, int S, int D);
int dmulscale30(int a, int d, int S, int D);
int dmulscale31(int a, int d, int S, int D);
int dmulscale32(int a, int d, int S, int D);
int tmulscale1(int a, int d, int b, int c, int S, int D);
int tmulscale2(int a, int d, int b, int c, int S, int D);
int tmulscale3(int a, int d, int b, int c, int S, int D);
int tmulscale4(int a, int d, int b, int c, int S, int D);
int tmulscale5(int a, int d, int b, int c, int S, int D);
int tmulscale6(int a, int d, int b, int c, int S, int D);
int tmulscale7(int a, int d, int b, int c, int S, int D);
int tmulscale8(int a, int d, int b, int c, int S, int D);
int tmulscale9(int a, int d, int b, int c, int S, int D);
int tmulscale10(int a, int d, int b, int c, int S, int D);
int tmulscale11(int a, int d, int b, int c, int S, int D);
int tmulscale12(int a, int d, int b, int c, int S, int D);
int tmulscale13(int a, int d, int b, int c, int S, int D);
int tmulscale14(int a, int d, int b, int c, int S, int D);
int tmulscale15(int a, int d, int b, int c, int S, int D);
int tmulscale16(int a, int d, int b, int c, int S, int D);
int tmulscale17(int a, int d, int b, int c, int S, int D);
int tmulscale18(int a, int d, int b, int c, int S, int D);
int tmulscale19(int a, int d, int b, int c, int S, int D);
int tmulscale20(int a, int d, int b, int c, int S, int D);
int tmulscale21(int a, int d, int b, int c, int S, int D);
int tmulscale22(int a, int d, int b, int c, int S, int D);
int tmulscale23(int a, int d, int b, int c, int S, int D);
int tmulscale24(int a, int d, int b, int c, int S, int D);
int tmulscale25(int a, int d, int b, int c, int S, int D);
int tmulscale26(int a, int d, int b, int c, int S, int D);
int tmulscale27(int a, int d, int b, int c, int S, int D);
int tmulscale28(int a, int d, int b, int c, int S, int D);
int tmulscale29(int a, int d, int b, int c, int S, int D);
int tmulscale30(int a, int d, int b, int c, int S, int D);
int tmulscale31(int a, int d, int b, int c, int S, int D);
int tmulscale32(int a, int d, int b, int c, int S, int D);
int divscale(int a, int b, int c);
int divscale1(int a, int b);
int divscale2(int a, int b);
int divscale3(int a, int b);
int divscale4(int a, int b);
int divscale5(int a, int b);
int divscale6(int a, int b);
int divscale7(int a, int b);
int divscale8(int a, int b);
int divscale9(int a, int b);
int divscale10(int a, int b);
int divscale11(int a, int b);
int divscale12(int a, int b);
int divscale13(int a, int b);
int divscale14(int a, int b);
int divscale15(int a, int b);
int divscale16(int a, int b);
int divscale17(int a, int b);
int divscale18(int a, int b);
int divscale19(int a, int b);
int divscale20(int a, int b);
int divscale21(int a, int b);
int divscale22(int a, int b);
int divscale23(int a, int b);
int divscale24(int a, int b);
int divscale25(int a, int b);
int divscale26(int a, int b);
int divscale27(int a, int b);
int divscale28(int a, int b);
int divscale29(int a, int b);
int divscale30(int a, int b);
int divscale31(int a, int b);
int divscale32(int d, int b);
int readpixel(void *D);
void drawpixel(void *D, int a);
void drawpixels(void *D, int a);
void drawpixelses(void *D, int a);
void clearbuf(void* D, int c, int a);
void copybuf(void *S, void *D, int c);
int mul3(int a);
int mul5(int a);
int mul9(int a);
int divmod(int a, int b);
int moddiv(int a, int b);
int klabs(int a);
int ksgn(int b);
int umin(int a, int b);
int umax(int a, int b);
int kmin(int a, int b);
int kmax(int a, int b);
void swapchar(void *a, void *b);
void swapshort(void *a, void *b);
void swaplong(void *a, void *b);
void swapbuf4(void *a, void *b, int c);
void swap64bit(void *a, void *b);
void swapchar2(void *a, void *b, int S);
#endif

