MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / regenerate.py

File regenerate.py

external/ggml/examples/python/regenerate.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1# Generates bindings for the ggml library.
2#
3# cffi requires prior C preprocessing of the headers, and it uses pycparser which chokes on a couple of things
4# so we help it a bit (e.g. replace sizeof expressions with their value, remove exotic syntax found in Darwin headers).

Callers

nothing calls this directly

Calls 5

generate_stubsFunction · 0.90
printFunction · 0.85
getMethod · 0.45
runMethod · 0.45
writeMethod · 0.45

Tested by

no test coverage detected