mirror of
https://github.com/apple/foundationdb.git
synced 2025-05-17 03:12:21 +08:00
clang-format, remove header added by IDE
This commit is contained in:
parent
a44fa7bfe6
commit
d25b8664e7
@ -389,12 +389,11 @@ fdb_error_t fdb_database_create_transaction( FDBDatabase* d,
|
|||||||
*out_transaction = (FDBTransaction*)tr.extractPtr(); );
|
*out_transaction = (FDBTransaction*)tr.extractPtr(); );
|
||||||
}
|
}
|
||||||
|
|
||||||
extern "C" DLLEXPORT
|
extern "C" DLLEXPORT FDBFuture* fdb_database_reboot_worker(FDBDatabase* db, uint8_t const* address, int address_length,
|
||||||
FDBFuture* fdb_database_reboot_worker( FDBDatabase* db, uint8_t const* address, int address_length, fdb_bool_t check, int duration) {
|
fdb_bool_t check, int duration) {
|
||||||
return (FDBFuture*) (DB(db)->rebootWorker(StringRef(address, address_length), check, duration).extractPtr());
|
return (FDBFuture*)(DB(db)->rebootWorker(StringRef(address, address_length), check, duration).extractPtr());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
extern "C" DLLEXPORT
|
extern "C" DLLEXPORT
|
||||||
void fdb_transaction_destroy( FDBTransaction* tr ) {
|
void fdb_transaction_destroy( FDBTransaction* tr ) {
|
||||||
try {
|
try {
|
||||||
|
@ -20,7 +20,6 @@
|
|||||||
|
|
||||||
// Unit tests for the FoundationDB C API.
|
// Unit tests for the FoundationDB C API.
|
||||||
|
|
||||||
#include <cstdint>
|
|
||||||
#define FDB_API_VERSION 700
|
#define FDB_API_VERSION 700
|
||||||
#include <foundationdb/fdb_c.h>
|
#include <foundationdb/fdb_c.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user