X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Falloc.h;h=ef3df77e414555ffc5bae0275b0d735344247527;hb=2f9585060d5fe2c525955d80f34123761ded80fe;hp=fe7aef38b90aa27326f3bc642cd339056d18cc9f;hpb=fdd3f1d028eed3a886dae0c5635ddd70ca12b206;p=sbcl.git diff --git a/src/runtime/alloc.h b/src/runtime/alloc.h index fe7aef3..ef3df77 100644 --- a/src/runtime/alloc.h +++ b/src/runtime/alloc.h @@ -12,11 +12,19 @@ #ifndef _ALLOC_H_ #define _ALLOC_H_ +#include "sbcl.h" #include "runtime.h" +#include "gc-internal.h" + +#ifdef LISP_FEATURE_GENCGC +extern lispobj *general_alloc(long bytes, int page_type_flag); +#endif extern lispobj alloc_cons(lispobj car, lispobj cdr); extern lispobj alloc_number(long n); extern lispobj alloc_string(char *str); extern lispobj alloc_sap(void *ptr); +extern lispobj alloc_base_string(char *str); +extern lispobj alloc_code_object(unsigned boxed, unsigned unboxed); #endif /* _ALLOC_H_ */