Don't export the fdb_future_get_version_v619 symbol. Mark fdb_future_get_version as a removed function.

This commit is contained in:
A.J. Beamon 2019-09-27 15:31:09 -07:00
parent c52d984d3a
commit e2f4d19c34
2 changed files with 7 additions and 6 deletions

View File

@ -214,7 +214,6 @@ fdb_error_t fdb_future_get_error_v22( FDBFuture* f, const char** description ) {
return TSAVB(f)->error.code();
}
extern "C" DLLEXPORT
fdb_error_t fdb_future_get_version_v619( FDBFuture* f, int64_t* out_version ) {
CATCH_AND_RETURN( *out_version = TSAV(Version, f)->get(); );
}

View File

@ -120,11 +120,6 @@ extern "C" {
fdb_future_get_error( FDBFuture* f );
#endif
#if FDB_API_VERSION < 620
DLLEXPORT WARN_UNUSED_RESULT fdb_error_t
fdb_future_get_version( FDBFuture* f, int64_t* out_version );
#endif
DLLEXPORT WARN_UNUSED_RESULT fdb_error_t
fdb_future_get_int64( FDBFuture* f, int64_t* out );
@ -265,6 +260,13 @@ extern "C" {
/* LEGACY API VERSIONS */
#if FDB_API_VERSION < 620
DLLEXPORT WARN_UNUSED_RESULT fdb_error_t
fdb_future_get_version( FDBFuture* f, int64_t* out_version );
#else
#define fdb_future_get_version(f, ov) FDB_REMOVED_FUNCTION
#endif
#if FDB_API_VERSION < 610 || defined FDB_INCLUDE_LEGACY_TYPES
typedef struct FDB_cluster FDBCluster;