File tree Expand file tree Collapse file tree 2 files changed +0
-6
lines changed Expand file tree Collapse file tree 2 files changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -87,7 +87,6 @@ extern "C" {
8787 GGML_API int gguf_get_version (const struct gguf_context * ctx );
8888 GGML_API size_t gguf_get_alignment (const struct gguf_context * ctx );
8989 GGML_API size_t gguf_get_data_offset (const struct gguf_context * ctx );
90- GGML_API void * gguf_get_data (const struct gguf_context * ctx );
9190
9291 GGML_API int gguf_get_n_kv (const struct gguf_context * ctx );
9392 GGML_API int gguf_find_key (const struct gguf_context * ctx , const char * key );
Original file line number Diff line number Diff line change @@ -731,11 +731,6 @@ size_t gguf_get_data_offset(const struct gguf_context * ctx) {
731731 return ctx->offset ;
732732}
733733
734- // TODO should this be a const pointer? should it exist at all?
735- void * gguf_get_data (const struct gguf_context * ctx) {
736- return ctx->data ;
737- }
738-
739734// TODO this returns int but the underlying type is uint64
740735int gguf_get_n_kv (const struct gguf_context * ctx) {
741736 return ctx->kv .size ();
You can’t perform that action at this time.
0 commit comments