Files
faiss/c_api/IndexBinaryFlat_c.cpp
T
Aalekh Patel 5cf2c4203f Expose IndexBinaryFlat to the C API. (#4834)
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
2026-03-03 06:42:19 -08:00

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)
}