Skip to content

Commit

Permalink
reformat C++ sources according to C++SDK 1.0.0 rules (#150)
Browse files Browse the repository at this point in the history
  • Loading branch information
avsej authored Jul 19, 2024
1 parent dd093c0 commit fc0e662
Show file tree
Hide file tree
Showing 20 changed files with 9,069 additions and 7,931 deletions.
36 changes: 18 additions & 18 deletions ext/couchbase.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -41,27 +41,27 @@ __declspec(dllexport)
void
Init_libcouchbase(void)
{
couchbase::ruby::init_logger();
couchbase::ruby::init_logger();

VALUE mCouchbase = rb_define_module("Couchbase");
VALUE mCouchbase = rb_define_module("Couchbase");

couchbase::ruby::init_version(mCouchbase);
couchbase::ruby::init_exceptions(mCouchbase);
couchbase::ruby::init_version(mCouchbase);
couchbase::ruby::init_exceptions(mCouchbase);

VALUE cBackend = couchbase::ruby::init_backend(mCouchbase);
VALUE cBackend = couchbase::ruby::init_backend(mCouchbase);

couchbase::ruby::init_crud(cBackend);
couchbase::ruby::init_multi(cBackend);
couchbase::ruby::init_analytics(cBackend);
couchbase::ruby::init_views(cBackend);
couchbase::ruby::init_search(cBackend);
couchbase::ruby::init_query(cBackend);
couchbase::ruby::init_buckets(cBackend);
couchbase::ruby::init_collections(cBackend);
couchbase::ruby::init_users(cBackend);
couchbase::ruby::init_range_scan(mCouchbase, cBackend);
couchbase::ruby::init_diagnostics(cBackend);
couchbase::ruby::init_extras(cBackend);
couchbase::ruby::init_logger_methods(cBackend);
couchbase::ruby::init_crud(cBackend);
couchbase::ruby::init_multi(cBackend);
couchbase::ruby::init_analytics(cBackend);
couchbase::ruby::init_views(cBackend);
couchbase::ruby::init_search(cBackend);
couchbase::ruby::init_query(cBackend);
couchbase::ruby::init_buckets(cBackend);
couchbase::ruby::init_collections(cBackend);
couchbase::ruby::init_users(cBackend);
couchbase::ruby::init_range_scan(mCouchbase, cBackend);
couchbase::ruby::init_diagnostics(cBackend);
couchbase::ruby::init_extras(cBackend);
couchbase::ruby::init_logger_methods(cBackend);
}
}
1,916 changes: 1,023 additions & 893 deletions ext/rcb_analytics.cxx

Large diffs are not rendered by default.

548 changes: 292 additions & 256 deletions ext/rcb_backend.cxx

Large diffs are not rendered by default.

984 changes: 534 additions & 450 deletions ext/rcb_buckets.cxx

Large diffs are not rendered by default.

Loading

0 comments on commit fc0e662

Please sign in to comment.