Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

lustrec / include / arrow.c @ 80f93e0a

History | View | Annotate | Download (306 Bytes)

1 04e26a3f xthirioux
#include <stdlib.h>
2
#include <assert.h>
3
#include "arrow.h"
4
5 80f93e0a xavier.thirioux
struct _arrow_mem * _arrow_alloc () {
6 04e26a3f xthirioux
  struct _arrow_mem *_alloc;
7
  _alloc = (struct _arrow_mem *) malloc(sizeof(struct _arrow_mem *));
8
  assert (_alloc);
9
  return _alloc;
10
}
11 80f93e0a xavier.thirioux
12
void _arrow_dealloc (struct _arrow_mem * _alloc) {
13
  free (_alloc);
14
}