/tutorial/external/C/c_glue4.c
http://github.com/tybor/Liberty · C · 12 lines · 9 code · 2 blank · 1 comment · 0 complexity · e6e95e4a3475dda0315808ab2b211513 MD5 · raw file
- /* Hand-written C code to be used with example4.e */
- #include <stdlib.h>
- #include "c_glue4.h"
- Point * malloc_point(void) {
- Point* point;
- point = (Point*)malloc(sizeof(Point));
- point->x = 0.0;
- point->x = 0.0;
- return point;
- }