1
0
mirror of https://github.com/janet-lang/janet synced 2025-10-17 00:37:39 +00:00

Remove cmake build to simplify things.

This commit is contained in:
Calvin Rose
2018-08-05 21:13:14 -04:00
parent 579bfe97df
commit ed2f032c15
13 changed files with 129 additions and 286 deletions

View File

@@ -49,7 +49,7 @@ void dst_symcache_init() {
/* Deinitialize the cache (free the cache memory) */
void dst_symcache_deinit() {
free(dst_vm_cache);
free((void *)dst_vm_cache);
dst_vm_cache = NULL;
dst_vm_cache_capacity = 0;
dst_vm_cache_count = 0;
@@ -139,7 +139,7 @@ static void dst_cache_resize(uint32_t newCapacity) {
}
}
/* Free the old cache */
free(oldCache);
free((void *)oldCache);
}
/* Add an item to the cache */