Browse Source

Clean up constant qstr declarations now that charlen isn't needed

pull/671/head
Chris Angelico 11 years ago
parent
commit
0bcc7ab89e
  1. 4
      py/qstr.c

4
py/qstr.c

@ -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)
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\0\0", // empty qstr
(const byte*) "\0\0\0\0", // invalid/no qstr has empty data
(const byte*) "\0\0\0\0", // empty qstr
#define Q(id, str) str,
#include "genhdr/qstrdefs.generated.h"
#undef Q

Loading…
Cancel
Save