interpreters/python: Fix symbol collision with list_length function

NuttX implements a function with the same name which may end up
being included whenever `CONFIG_MM_KERNEL_HEAP` is set. To avoid
it, insert a prefix to it on Python's implementation.

Please note that the other patches had their metadata updated too.
This commit is contained in:
Tiago Medicci
2025-07-21 12:07:56 -03:00
committed by Xiang Xiao
parent 3f823f9f25
commit c83e17c083
15 changed files with 84 additions and 39 deletions

View File

@@ -1,7 +1,7 @@
From fc042cfa496f37f2a859495ad281583f79af0044 Mon Sep 17 00:00:00 2001
From ce41aed2d663d6a7278b83bcdc2dc0adb65b9f5c Mon Sep 17 00:00:00 2001
From: Tiago Medicci <tiago.medicci@espressif.com>
Date: Wed, 13 Nov 2024 14:23:34 -0300
Subject: [PATCH 08/11] declare struct timeval
Subject: [PATCH 08/14] declare struct timeval
Otherwise, build will fail due to redefinition of _PyTime_FromTimeval
@@ -25,5 +25,5 @@ index 205ac5d3781..c30e07f4b4a 100644
#define _SIZEOF_PYTIME_T 8
--
2.46.1
2.50.0