ef3df77e414555ffc5bae0275b0d735344247527
[sbcl.git] / src / runtime / alloc.h
1 /*
2  * This software is part of the SBCL system. See the README file for
3  * more information.
4  *
5  * This software is derived from the CMU CL system, which was
6  * written at Carnegie Mellon University and released into the
7  * public domain. The software is in the public domain and is
8  * provided with absolutely no warranty. See the COPYING and CREDITS
9  * files for more information.
10  */
11
12 #ifndef _ALLOC_H_
13 #define _ALLOC_H_
14
15 #include "sbcl.h"
16 #include "runtime.h"
17 #include "gc-internal.h"
18
19 #ifdef LISP_FEATURE_GENCGC
20 extern lispobj *general_alloc(long bytes, int page_type_flag);
21 #endif
22
23 extern lispobj alloc_cons(lispobj car, lispobj cdr);
24 extern lispobj alloc_number(long n);
25 extern lispobj alloc_string(char *str);
26 extern lispobj alloc_sap(void *ptr);
27 extern lispobj alloc_base_string(char *str);
28 extern lispobj alloc_code_object(unsigned boxed, unsigned unboxed);
29
30 #endif /* _ALLOC_H_ */