go-mlx/dist/include/mlx/c/version.h
Snider 2292557fd6 chore: vendor MLX C headers for Go module consumers
dist/include/ contains the MLX and MLX-C headers needed for CGo
compilation. Without these, go-mlx cannot be used as a module
dependency (headers not found in module cache).

Libraries (dylib/metallib) are still gitignored — users build
those locally via cmake.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-02-21 19:14:04 +00:00

18 lines
225 B
C

/* Copyright © 2023-2024 Apple Inc. */
#ifndef MLX_VERSION_H
#define MLX_VERSION_H
#include "mlx/c/string.h"
#ifdef __cplusplus
extern "C" {
#endif
int mlx_version(mlx_string* str_);
#ifdef __cplusplus
}
#endif
#endif