Fix deprecation warnings complaining about PY_SSIZE_T_CLEAN

This commit is contained in:
Dan 2019-11-27 14:33:31 +01:00
parent 79e31f0c03
commit e848d0aaac

View File

@ -16,6 +16,7 @@
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with Pyrogram. If not, see <http://www.gnu.org/licenses/>. // along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.
#define PY_SSIZE_T_CLEAN
#include <Python.h> #include <Python.h>
#include "aes256.h" #include "aes256.h"