Expose the ggml functions in the bindings.

This commit is contained in:
Marcin Mielniczuk 2023-08-20 21:27:41 +02:00
parent 0e74df12a9
commit d321f158b1
2 changed files with 3 additions and 1 deletions

View file

@ -59,6 +59,7 @@ fn main() {
let bindings = bindgen::Builder::default()
.header("wrapper.h")
.clang_arg("-I./whisper.cpp")
.clang_arg("-I./ggml.c")
.parse_callbacks(Box::new(bindgen::CargoCallbacks))
.generate();

View file

@ -1 +1,2 @@
#include <whisper.h>
#include <whisper.h>
#include <ggml.h>