Просмотр исходного кода

【完善】ctypes 模块需要的 qstr。

Signed-off-by: armink <armink.ztl@gmail.com>
armink 7 лет назад
Родитель
Сommit
0aba78afd3
1 измененных файлов с 8 добавлено и 0 удалено
  1. 8 0
      port/genhdr/qstrdefs.generated.h

+ 8 - 0
port/genhdr/qstrdefs.generated.h

@@ -680,5 +680,13 @@ QDEF(MP_QSTR_onewire, (const byte*)"\x28\x07" "onewire")
 QDEF(MP_QSTR___dir__, (const byte*)"\x7a\x07" "__dir__")
 QDEF(MP_QSTR___int__, (const byte*)"\x16\x07" "__int__")
 QDEF(MP_QSTR_schedule, (const byte*)"\xe0\x08" "schedule")
+QDEF(MP_QSTR_SHORT, (const byte*)"\xf7\x05" "SHORT")
+QDEF(MP_QSTR_USHORT, (const byte*)"\xa2\x06" "USHORT")
+QDEF(MP_QSTR_INT, (const byte*)"\x36\x03" "INT")
+QDEF(MP_QSTR_UINT, (const byte*)"\x23\x04" "UINT")
+QDEF(MP_QSTR_LONG, (const byte*)"\x0f\x04" "LONG")
+QDEF(MP_QSTR_ULONG, (const byte*)"\x7a\x05" "ULONG")
+QDEF(MP_QSTR_LONGLONG, (const byte*)"\x85\x08" "LONGLONG")
+QDEF(MP_QSTR_ULONGLONG, (const byte*)"\x70\x09" "ULONGLONG")
 
 // This file was automatically generated by makeqstrdata.py