mirror of
https://github.com/logos-messaging/negentropy.git
synced 2026-03-07 05:03:18 +00:00
chore: move header inclusions to c file
This commit is contained in:
parent
07a159d82f
commit
68ca46408e
@ -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.
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user