From c92550bb506dcebd1814a4ef00852c25dfbb237e Mon Sep 17 00:00:00 2001 From: Erik Ehlert Date: Tue, 9 Jul 2024 11:39:29 +0200 Subject: [PATCH] add support for python 3.10 --- src/pyi2c.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pyi2c.c b/src/pyi2c.c index e5b03ea..54babc8 100644 --- a/src/pyi2c.c +++ b/src/pyi2c.c @@ -1,3 +1,4 @@ +#define PY_SSIZE_T_CLEAN 1 #include #include "i2c/i2c.h"