Project

General

Profile

Revision 80f93e0a include/arrow.c

View differences:

include/arrow.c
2 2
#include <assert.h>
3 3
#include "arrow.h"
4 4

  
5
struct _arrow_mem *_arrow_alloc() {
5
struct _arrow_mem * _arrow_alloc () {
6 6
  struct _arrow_mem *_alloc;
7 7
  _alloc = (struct _arrow_mem *) malloc(sizeof(struct _arrow_mem *));
8 8
  assert (_alloc);
9 9
  return _alloc;
10 10
}
11

  
12
void _arrow_dealloc (struct _arrow_mem * _alloc) {
13
  free (_alloc);
14
}

Also available in: Unified diff