LispBM
Loading...
Searching...
No Matches
lispbm.h
Go to the documentation of this file.
1/*
2 Copyright 2022, 2024 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_custom_type.h"
34#include "lbm_channel.h"
35
36#ifdef __cplusplus
37extern "C" {
38#endif
39
62int lbm_init(lbm_cons_t *heap_storage, lbm_uint heap_size,
64 lbm_uint *memory_bitmap, lbm_uint bitmap_size,
65 lbm_uint gc_stack_size,
66 lbm_uint print_stack_size,
67 lbm_extension_t *extension_storage,
68 lbm_uint extension_storage_size);
69
70#ifdef __cplusplus
71}
72#endif
73#endif
static lbm_uint bitmap_size
Definition lbm_memory.c:45
static lbm_uint * memory
Definition lbm_memory.c:43
static lbm_uint memory_size
Definition lbm_memory.c:44
uint32_t lbm_uint
Definition lbm_types.h:48
int lbm_init(lbm_cons_t *heap_storage, lbm_uint heap_size, lbm_uint *memory, lbm_uint memory_size, lbm_uint *memory_bitmap, lbm_uint bitmap_size, lbm_uint gc_stack_size, lbm_uint print_stack_size, lbm_extension_t *extension_storage, lbm_uint extension_storage_size)
Definition lispbm.c:20
Definition heap.h:203
Definition extensions.h:40