More work on disk cache

This commit is contained in:
Kovid Goyal
2020-12-30 14:26:38 +05:30
parent 3162d391cc
commit fe1050fc0e
3 changed files with 211 additions and 6 deletions
+2 -1
View File
@@ -6,6 +6,7 @@
#pragma once
#include <Python.h>
#include "data-types.h"
PyObject* create_disk_cache(void);
bool add_to_disk_cache(PyObject *self, const void *key, size_t key_sz, const uint8_t *data, size_t data_sz);