Write low-level bindings to GDBM
commit8156cb20b5bd459e1b4d0a8dfc1999346fe22d8b
authorDmitry Bogatov <KAction@gnu.org>
Mon, 21 Aug 2017 03:43:20 +0000 (21 06:43 +0300)
committerDmitry Bogatov <KAction@gnu.org>
Mon, 21 Aug 2017 03:43:20 +0000 (21 06:43 +0300)
tree40c286b09adcf2a245f3a75c7ffc8f9e98c22450
parent1abd39b22923a2499fbbfda6e7a6a30ca5f77684
Write low-level bindings to GDBM

GDBM routines pass 'struct datum' by value, making them impossible to
call directly by means of GHC ccall interface, requiring writing glue
C code that assembles and disassembles 'struct datum' into pointer and
integer back and forth.
cbits/link.c [new file with mode: 0644]
package.yaml
src/Database/GDBM/Internal.hs