Files
metabuilder/typthon/Modules/_sqlite/blob.h
johndoe6345789 0e707caa56 feat: Add Typthon
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 17:10:58 +00:00

25 lines
467 B
C

#ifndef PYSQLITE_BLOB_H
#define PYSQLITE_BLOB_H
#include "Python.h"
#include "sqlite3.h"
#include "connection.h"
#define BLOB_SEEK_START 0
#define BLOB_SEEK_CUR 1
#define BLOB_SEEK_END 2
typedef struct {
PyObject_HEAD
pysqlite_Connection *connection;
sqlite3_blob *blob;
int offset;
TyObject *in_weakreflist;
} pysqlite_Blob;
int pysqlite_blob_setup_types(TyObject *mod);
void pysqlite_close_all_blobs(pysqlite_Connection *self);
#endif