Merge pull request #435 from Liuchang0812/wip-rename-future-in-c-binding

rename opaque types in c binding to avoid conflicts with the standard library
This commit is contained in:
Alex Miller 2018-06-18 13:55:33 -07:00 committed by GitHub
commit a3601af2a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -61,10 +61,10 @@ extern "C" {
#endif
/* Pointers to these opaque types represent objects in the FDB API */
typedef struct future FDBFuture;
typedef struct cluster FDBCluster;
typedef struct database FDBDatabase;
typedef struct transaction FDBTransaction;
typedef struct FDB_future FDBFuture;
typedef struct FDB_cluster FDBCluster;
typedef struct FDB_database FDBDatabase;
typedef struct FDB_transaction FDBTransaction;
typedef int fdb_error_t;
typedef int fdb_bool_t;