Skip to content

Commit 34abf9a

Browse files
committed
refactor: comment out get_llama_kv_cache_wrapper
1 parent 4c488ab commit 34abf9a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

ext/llama_cpp/llama_cpp.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1799,11 +1799,11 @@ static VALUE llama_kv_cache_wrapper_alloc(VALUE self) {
17991799
return TypedData_Wrap_Struct(self, &llama_kv_cache_wrapper_data_type, data);
18001800
}
18011801

1802-
static llama_kv_cache_wrapper* get_llama_kv_cache_wrapper(VALUE self) {
1803-
llama_kv_cache_wrapper* data = NULL;
1804-
TypedData_Get_Struct(self, llama_kv_cache_wrapper, &llama_kv_cache_wrapper_data_type, data);
1805-
return data;
1806-
}
1802+
// static llama_kv_cache_wrapper* get_llama_kv_cache_wrapper(VALUE self) {
1803+
// llama_kv_cache_wrapper* data = NULL;
1804+
// TypedData_Get_Struct(self, llama_kv_cache_wrapper, &llama_kv_cache_wrapper_data_type, data);
1805+
// return data;
1806+
// }
18071807

18081808
/**
18091809
* @overload llama_get_kv_self(context)

0 commit comments

Comments
 (0)