Skip to content
This repository was archived by the owner on May 20, 2021. It is now read-only.

Commit

Permalink
Update comments; remove stdio include.
Browse files Browse the repository at this point in the history
  • Loading branch information
bnpfeife committed Oct 22, 2018
1 parent 9b2439e commit 0ed6ce7
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions bnp_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,18 +59,18 @@
// enables implementations of collections
#ifdef BNP_COLLECTION_IMPLEMENTATION
#define BNPC_HASHMAP_IMPLEMENTATION // completed
#define BNPC_LIST_IMPLEMENTATION // not-started
#define BNPC_QUEUE_IMPLEMENTATION // unneeded
#define BNPC_STACK_IMPLEMENTATION // unneeded
#define BNPC_LIST_IMPLEMENTATION // started
#define BNPC_QUEUE_IMPLEMENTATION // unneeded (deps: vector)
#define BNPC_STACK_IMPLEMENTATION // unneeded (deps: vector)
#define BNPC_VECTOR_IMPLEMENTATION // completed
#endif

// enables debugging for collections
#ifdef BNP_COLLECTION_DEBUG
#define BNPC_HASHMAP_DEBUG // unneeded
#define BNPC_LIST_DEBUG // not-implemented
#define BNPC_QUEUE_DEBUG // unneeded
#define BNPC_STACK_DEBUG // unneeded
#define BNPC_HASHMAP_DEBUG // unneeded (deps: list, vector)
#define BNPC_LIST_DEBUG // started
#define BNPC_QUEUE_DEBUG // unneeded (deps: vector)
#define BNPC_STACK_DEBUG // unneeded (deps: vector)
#define BNPC_VECTOR_DEBUG // completed
#endif

Expand All @@ -80,7 +80,6 @@
#include <assert.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
BNP_FORCE_INLINE void* bnp_alloc(const bnp_size size) {
void* pointer = malloc(size);
assert(pointer);
Expand Down

0 comments on commit 0ed6ce7

Please sign in to comment.