rename base.h -> alisp.h

Makes more sense when you think about including it as an external
library
This commit is contained in:
2025-08-20 21:24:07 +01:00
parent 3074ba5bab
commit 643896e2c8
7 changed files with 8 additions and 8 deletions

View File

@@ -12,8 +12,8 @@
* Description: All the definitions required for the lisp system * Description: All the definitions required for the lisp system
*/ */
#ifndef BASE_H #ifndef ALISP_H
#define BASE_H #define ALISP_H
#include <stdint.h> #include <stdint.h>

View File

@@ -14,7 +14,7 @@
#include <malloc.h> #include <malloc.h>
#include "./base.h" #include "./alisp.h"
lisp_t *make_int(i64 i) lisp_t *make_int(i64 i)
{ {

2
main.c
View File

@@ -16,7 +16,7 @@
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include "./base.h" #include "./alisp.h"
sv_t sv_copy(sv_t old) sv_t sv_copy(sv_t old)
{ {

View File

@@ -12,7 +12,7 @@
* Description: Symbol Table implementation * Description: Symbol Table implementation
*/ */
#include "./base.h" #include "./alisp.h"
#include <malloc.h> #include <malloc.h>
#include <string.h> #include <string.h>

2
sys.c
View File

@@ -12,7 +12,7 @@
* Description: System management * Description: System management
*/ */
#include "./base.h" #include "./alisp.h"
#include <assert.h> #include <assert.h>
#include <malloc.h> #include <malloc.h>

2
tag.c
View File

@@ -15,7 +15,7 @@
#include <assert.h> #include <assert.h>
#include <stdlib.h> #include <stdlib.h>
#include "./base.h" #include "./alisp.h"
lisp_t *tag_int(i64 i) lisp_t *tag_int(i64 i)
{ {

2
vec.c
View File

@@ -15,7 +15,7 @@
#include <malloc.h> #include <malloc.h>
#include <string.h> #include <string.h>
#include "./base.h" #include "./alisp.h"
void vec_make(void **ptr, u64 size) void vec_make(void **ptr, u64 size)
{ {