Commit Graph

22 Commits

Author SHA1 Message Date
Jacek Sieka d510091a5b
fix string conversion for void results
value does not exist for void
2018-08-15 19:52:53 -06:00
Yuriy Glukhov 4675336fae
Merge pull request #8 from status-im/dry
Dry up types and pragmas
2018-08-02 15:51:25 +03:00
Yuriy Glukhov 291621b828 Mooore type safety 2018-07-30 19:34:36 +03:00
Yuriy Glukhov 55e19b4521 Example updated 2018-07-30 12:57:42 +03:00
Yuriy Glukhov ca28e4e3cf Test fixup 2018-07-30 12:25:27 +03:00
Yuriy Glukhov ba0aa8e5db Dry up types and pragmas 2018-07-30 12:12:50 +03:00
Yuriy Glukhov 607af3c1aa Removed header dependency (#7) 2018-07-27 10:55:25 +02:00
Yuriy Glukhov 840d470eb9 Fixed pkg struct (#5) 2018-07-04 14:09:03 +02:00
Yuriy Glukhov ea32db3c8f
Merge pull request #4 from status-im/fix-tests
Fixed tests
2018-07-04 14:46:52 +03:00
Yuriy Glukhov c5b8fa823f Fixed tests 2018-07-04 14:41:03 +03:00
Zahary Karadjov 92ac374a55 address review comment 2018-06-25 15:59:23 +03:00
Zahary Karadjov 419b97e132 Add a basic higher-level API
The API is still very basic and suffering from multiple Nim issues
that will be resolved in the near future:

* destructors will handle the resource cleanup better
* converter concepts will enable a wider range of possible types
  to be used as keys and values.

The API currently uses an ErrorResult type to communicate errors,
but RocksDB doesn't seem to have many recoverable failure modes
and I anticipate that the API will be migrated to use exceptions
once we get a bit more experience with RocksDB.

The C interface file was moved to a separate directory to make
nimble happy (`nimble check`).
2018-06-25 15:59:23 +03:00
Mamy Ratsimbazafy eb2bd02c5a
Fix Travis Continuous Integration + adapt to non null-terminated C string (#1) 2018-02-05 22:19:33 +01:00
mratsim 1af9394d71 Hoping for Travis docker to work 2018-02-04 02:10:08 +01:00
mratsim 130cc07f84 Add Travis CI 2018-02-04 01:05:35 +01:00
mratsim 01077e71a0 Add test suite 2018-02-04 00:55:41 +01:00
mratsim 6a7fa44b99 Add nimble file 2018-01-27 17:18:38 +01:00
mratsim 89b94bc135 Add nim-rocksdb usage example 2018-01-27 17:01:14 +01:00
mratsim 5fea270681 Fix simple import (mangle rules + opaque type definition) 2018-01-27 16:08:45 +01:00
mratsim 19655472eb Add wrapper for RocksDB C API 2018-01-27 15:03:19 +01:00
mratsim e3c68e3c0a Add RocksDB header (439855a774/include/rocksdb/c.h) 2018-01-27 14:22:56 +01:00
mratsim 9f1e0b5ae1 initial commit 2018-01-27 11:34:54 +01:00