LispBM
lispbm.h
Go to the documentation of this file.
1 /*
2  Copyright 2022 Joel Svensson svenssonjoel@yahoo.se
3 
4  This program is free software: you can redistribute it and/or modify
5  it under the terms of the GNU General Public License as published by
6  the Free Software Foundation, either version 3 of the License, or
7  (at your option) any later version.
8 
9  This program is distributed in the hope that it will be useful,
10  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  GNU General Public License for more details.
13 
14  You should have received a copy of the GNU General Public License
15  along with this program. If not, see <http://www.gnu.org/licenses/>.
16 */
17 
20 #ifndef LISPBM_H_
21 #define LISPBM_H_
22 
23 #include "heap.h"
24 #include "symrepr.h"
25 #include "extensions.h"
26 #include "eval_cps.h"
27 #include "print.h"
28 #include "tokpar.h"
29 #include "env.h"
30 #include "lbm_memory.h"
31 #include "lbm_types.h"
32 #include "lbm_c_interop.h"
33 #include "lbm_variables.h"
34 #include "lbm_custom_type.h"
35 #include "lbm_channel.h"
36 
37 #ifdef __cplusplus
38 extern "C" {
39 #endif
40 
62 int lbm_init(lbm_cons_t *heap_storage, lbm_uint heap_size,
63  lbm_uint gc_stack_size,
64  lbm_uint *memory, lbm_uint memory_size,
65  lbm_uint *memory_bitmap, lbm_uint bitmap_size,
66  lbm_uint *print_stack_storage, lbm_uint print_stack_size,
67  extension_fptr *extension_storage, int extension_storage_size );
68 
69 #ifdef __cplusplus
70 }
71 #endif
72 #endif
lbm_value(* extension_fptr)(lbm_value *, lbm_uint)
Definition: extensions.h:40
int lbm_init(lbm_cons_t *heap_storage, lbm_uint heap_size, lbm_uint gc_stack_size, lbm_uint *memory, lbm_uint memory_size, lbm_uint *memory_bitmap, lbm_uint bitmap_size, lbm_uint *print_stack_storage, lbm_uint print_stack_size, extension_fptr *extension_storage, int extension_storage_size)
Definition: heap.h:236