c_api/utils/utils_c.h
raw| 1 | /* |
| 2 | * Copyright (c) Meta Platforms, Inc. and affiliates. |
| 3 | * |
| 4 | * This source code is licensed under the MIT license found in the |
| 5 | * LICENSE file in the root directory of this source tree. |
| 6 | */ |
| 7 | |
| 8 | // -*- c -*- |
| 9 | |
| 10 | #ifndef FAISS_UTILS_C_H |
| 11 | #define FAISS_UTILS_C_H |
| 12 | |
| 13 | #include <stdint.h> |
| 14 | #include <stdlib.h> |
| 15 | |
| 16 | #ifdef __cplusplus |
| 17 | extern "C" { |
| 18 | #endif |
| 19 | |
| 20 | const char* faiss_get_version(); |
| 21 | |
| 22 | #ifdef __cplusplus |
| 23 | } |
| 24 | #endif |
| 25 | |
| 26 | #endif |