Expose the ggml functions in the bindings.
This commit is contained in:
parent
0e74df12a9
commit
d321f158b1
2 changed files with 3 additions and 1 deletions
|
|
@ -59,6 +59,7 @@ fn main() {
|
||||||
let bindings = bindgen::Builder::default()
|
let bindings = bindgen::Builder::default()
|
||||||
.header("wrapper.h")
|
.header("wrapper.h")
|
||||||
.clang_arg("-I./whisper.cpp")
|
.clang_arg("-I./whisper.cpp")
|
||||||
|
.clang_arg("-I./ggml.c")
|
||||||
.parse_callbacks(Box::new(bindgen::CargoCallbacks))
|
.parse_callbacks(Box::new(bindgen::CargoCallbacks))
|
||||||
.generate();
|
.generate();
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1 +1,2 @@
|
||||||
#include <whisper.h>
|
#include <whisper.h>
|
||||||
|
#include <ggml.h>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue