py: Fix hard-coded hash for empty qstr (was 0x0000 now 0x1505).

pull/1057/head
Damien George 2015-01-11 14:15:45 +00:00
rodzic ddd1e18801
commit 01418e9690
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -76,7 +76,7 @@ STATIC const qstr_pool_t const_pool = {
MP_QSTR_number_of, // corresponds to number of strings in array just below
{
(const byte*) "\0\0\0\0", // invalid/no qstr has empty data
(const byte*) "\0\0\0\0", // empty qstr
(const byte*) "\x05\x15\0\0", // empty qstr with hash=5381=0x1505
#define Q(id, str) str,
#include "genhdr/qstrdefs.generated.h"
#undef Q