#ifndef INC_PASCAL #define INC_PASCAL typedef struct triangle *triangle; extern triangle triangle_allocate(void); extern void triangle_free(triangle tr); extern void triangle_fill(triangle tr); extern void triangle_display(triangle tr); /* a simple correctness test */ extern int triangle_check(triangle tr); extern long binomial(triangle tr, int n, int p); #endif /* INC_PASCAL */