Permalink
Browse files

Added malloc and family to C bindings.

  • Loading branch information...
wilkie committed May 9, 2010
1 parent c69fc80 commit ae921bd377e037d96a06e896d5dfae48aab77041
Showing with 5 additions and 0 deletions.
  1. +5 −0 binding/c.d
View
@@ -105,3 +105,8 @@ int getchar(); ///
int putchar(int c); ///
int getc(FILE *fp); ///
int putc(int c,FILE *fp); ///
+
+void* malloc(size_t len);
+void* realloc(void* ptr, size_t len);
+void* calloc(size_t len);
+void free(void* ptr);

0 comments on commit ae921bd

Please sign in to comment.