mirror of
https://github.com/facebookresearch/faiss.git
synced 2026-10-12 02:13:36 +00:00
Summary: Primarily for the sake of completeness, we could expose an IndexBinaryFlat to the C API. Pull Request resolved: https://github.com/facebookresearch/faiss/pull/4834 Reviewed By: junjieqi Differential Revision: D94736003 Pulled By: gtwang01 fbshipit-source-id: 563a0b2b6684bead170ace6df08cc8ddd29c77d5
21 lines
425 B
C++
21 lines
425 B
C++
/*
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
// -*- c -*-
|
|
|
|
#include "IndexBinaryFlat_c.h"
|
|
#include <faiss/IndexBinaryFlat.h>
|
|
#include "macros_impl.h"
|
|
|
|
extern "C" {
|
|
|
|
using faiss::IndexBinaryFlat;
|
|
|
|
DEFINE_DESTRUCTOR(IndexBinaryFlat)
|
|
DEFINE_INDEX_BINARY_DOWNCAST(IndexBinaryFlat)
|
|
}
|