blockFile

Save data in chunked in blocks in a file for creating databases
git clone https://noulin.net/git/blockFile.git
Log | Files | Refs | LICENSE

commit 81fd68075b5397ddd05a23d325a04e096b2ef5f9
parent 434b4a56a30c791a5bb5df5b40d76a7072087e1e
Author: Remy Noulin <loader2x@gmail.com>
Date:   Sun, 11 Aug 2019 08:19:07 +0200

add openBFO macro

blockFile.h | 1 +
package.yml | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)

Diffstat:
MblockFile.h | 1+
Mpackage.yml | 2+-
2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/blockFile.h b/blockFile.h @@ -2,6 +2,7 @@ /* Add class methods and class data where there are the TODOs (TODO)*/ +#define openBFO(obj, fn) (obj)->f->open(obj, fn) #define closeBFO(obj) (obj)->f->close(obj) #define addBFO(obj, buffer, len) (obj)->f->add(obj, buffer, len) #define getBFO(obj, block) (obj)->f->get(obj, block) diff --git a/package.yml b/package.yml @@ -1,6 +1,6 @@ --- name: blockFile - version: 0.0.7 + version: 0.0.8 description: Save data in chunked in blocks in a file for creating databases bin: ./blockFile.c repository: