mirror of
https://github.com/micropython/micropython.git
synced 2026-01-06 04:00:28 +01:00
Clean up constant qstr declarations now that charlen isn't needed
This commit is contained in:
@@ -84,8 +84,8 @@ const static qstr_pool_t const_pool = {
|
|||||||
10, // set so that the first dynamically allocated pool is twice this size; must be <= the len (just below)
|
10, // set so that the first dynamically allocated pool is twice this size; must be <= the len (just below)
|
||||||
MP_QSTR_number_of, // corresponds to number of strings in array just below
|
MP_QSTR_number_of, // corresponds to number of strings in array just below
|
||||||
{
|
{
|
||||||
(const byte*) "\0\0\0\0\0\0", // invalid/no qstr has empty data
|
(const byte*) "\0\0\0\0", // invalid/no qstr has empty data
|
||||||
(const byte*) "\0\0\0\0\0\0", // empty qstr
|
(const byte*) "\0\0\0\0", // empty qstr
|
||||||
#define Q(id, str) str,
|
#define Q(id, str) str,
|
||||||
#include "genhdr/qstrdefs.generated.h"
|
#include "genhdr/qstrdefs.generated.h"
|
||||||
#undef Q
|
#undef Q
|
||||||
|
|||||||
Reference in New Issue
Block a user