PageRenderTime 20ms CodeModel.GetById 12ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/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
 1/* Hand-written C code to be used with example4.e */
 2
 3#include <stdlib.h>
 4#include "c_glue4.h"
 5
 6Point * malloc_point(void) {
 7  Point* point;
 8  point = (Point*)malloc(sizeof(Point));
 9  point->x = 0.0;
10  point->x = 0.0;
11  return point;
12}