/// Sample records put/query example #include <ejdb2/ejdb2.h> #define CHECK(rc_) \ if (rc_) { \ iwlog_ecode_error3(rc_); \ return 1; \ } static iwrc documents_visitor(EJDB_EXEC *ctx, const EJDB_DOC doc, int64_t *step) { // Print document to stderr return jbl_as_json(doc->raw, jbl_fstream_json_printer, stderr, JBL_PRINT_PRETTY); } int main() { EJDB_OPTS opts = { .kv = { .path = "example.db", .oflag
Chad Austin, 2002.02.15 Updates 2003.02.21 Clarified some of my comments thanks to feedback and suggestions from Razvan Surdulescu. For actual COM compatibility, I added __stdcall to the method declarations as well. (Apparently, if you follow the guidelines of this article, it's easy to add bindings from your DLL to Delphi and VB!) 2002.04.03 Somebody (unfortunately, I lost his e-mail address and
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く