update NOTICE and LICENSE
[nit.git] / clib / gc.h
1 /* This file is part of NIT ( http://www.nitlanguage.org ).
2 *
3 * Copyright 2009 Julien Chevalier <chevjulien@gmail.com>
4 *
5 * This file is free software, which comes along with NIT. This software is
6 * distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
7 * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
8 * PARTICULAR PURPOSE. You can modify it is you want, provided this header
9 * is kept unaltered, and a notification of the changes is added.
10 * You are allowed to redistribute it and sell it, alone or is a part of
11 * another product.
12 */
13
14 #ifndef GC
15 #define GC
16
17 #include <stdlib.h>
18 #include <stdio.h>
19 #include <errno.h>
20 #include "nit_common.h"
21
22 void Nit_gc_init(void);
23
24 void *Nit_gc_malloc(size_t size);
25
26 void GC_add_static_object(val_t *pointer);
27
28 #endif