chore: move header inclusions to c file

This commit is contained in:
Prem Prathi 2024-02-17 06:35:13 +00:00
parent 07a159d82f
commit 68ca46408e
No known key found for this signature in database
2 changed files with 2 additions and 5 deletions

View File

@ -1,4 +1,5 @@
#include "negentropy.h"
#include "negentropy/storage/BTreeMem.h"
#include "negentropy_wrapper.h"
//This is a C-wrapper for the C++ library that helps in integrating negentropy with nim code.

View File

@ -2,10 +2,6 @@
#ifndef _NEGENTROPY_WRAPPER_H
#define _NEGENTROPY_WRAPPER_H
#include "negentropy.h"
#include "negentropy/storage/BTreeMem.h"
#define length(array) ((sizeof(array)) / (sizeof(array[0])))
//This is a C-wrapper for the C++ library that helps in integrating negentropy with nim code.
//TODO: Do error handling by catching exceptions