Skip to content

Commit

Permalink
Rename alloc -> memory
Browse files Browse the repository at this point in the history
  • Loading branch information
knot126 committed Jun 13, 2024
1 parent cf22afb commit adba3f9
Show file tree
Hide file tree
Showing 17 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion source/args.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#include <stdbool.h>
#include <string.h>

#include "alloc.h"
#include "memory.h"
#include "string.h"
#include "log.h"

Expand Down
2 changes: 1 addition & 1 deletion source/array.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* Generic, bounds checked value arrays
*/

#include "alloc.h"
#include "memory.h"
#include "array.h"
#include "log.h"

Expand Down
2 changes: 1 addition & 1 deletion source/bitmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#include <string.h>
#include <math.h>

#include "alloc.h"
#include "memory.h"
#include "maths.h"
#include "log.h"
#include "storage.h"
Expand Down
2 changes: 1 addition & 1 deletion source/bytes.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

#include <stdlib.h>

#include "alloc.h"
#include "memory.h"
#include "log.h"
#include "checksum.h"

Expand Down
2 changes: 1 addition & 1 deletion source/compress.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* @note Currently some custom Huffman tree based compression
*/

#include "alloc.h"
#include "memory.h"
#include "string.h"
#include "log.h"

Expand Down
2 changes: 1 addition & 1 deletion source/crypto_hash_cubehash.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
*/

#include "error.h"
#include "alloc.h"
#include "memory.h"
#include "string.h"
#include "log.h"

Expand Down
2 changes: 1 addition & 1 deletion source/crypto_symmetric.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* Symmetric cryptography
*/

#include "alloc.h"
#include "memory.h"
#include "log.h"
#include "error.h"

Expand Down
2 changes: 1 addition & 1 deletion source/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

#include "storage.h"
#include "error.h"
#include "alloc.h"
#include "memory.h"
#include "log.h"

#include "file.h"
Expand Down
2 changes: 1 addition & 1 deletion source/alloc.c → source/memory.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

#include "error.h"

#include "alloc.h"
#include "memory.h"

void *DgAlloc(size_t size) {
/**
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion source/memory_stream.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#include <string.h>
#include <stdlib.h>

#include "alloc.h"
#include "memory.h"
#include "log.h"

#include "memory_stream.h"
Expand Down
2 changes: 1 addition & 1 deletion source/storage.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#include "common.h"

#include "error.h"
#include "alloc.h"
#include "memory.h"
#include "string.h"
#include "log.h"

Expand Down
2 changes: 1 addition & 1 deletion source/storage_filesystem.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#define mkdir(path) _mkdir(path)
#endif

#include "alloc.h"
#include "memory.h"
#include "string.h"
#include "storage.h"
#include "log.h"
Expand Down
2 changes: 1 addition & 1 deletion source/storage_void.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* @note This can be used as a basis for other storage classes.
*/

#include "alloc.h"
#include "memory.h"
#include "string.h"
#include "storage.h"
#include "log.h"
Expand Down
2 changes: 1 addition & 1 deletion source/string.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include <stdlib.h>
#include <stdbool.h>

#include "alloc.h"
#include "memory.h"
#include "bits.h"
#include "log.h"

Expand Down
2 changes: 1 addition & 1 deletion source/table.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* array in the order they were inserted.
*/

#include "alloc.h"
#include "memory.h"
#include "error.h"
#include "log.h"

Expand Down
2 changes: 1 addition & 1 deletion source/value.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

#include "string.h"
#include "checksum.h"
#include "alloc.h"
#include "memory.h"
#include "log.h"

// HACK HACK HACK This works thanks to #pragma once, though I wish it were eaiser for module to cross depend
Expand Down

0 comments on commit adba3f9

Please sign in to comment.