Logo
Explore Help
Register Sign In
fengqi/lv_micropython
1
0
Fork 0
You've already forked lv_micropython
Code Issues Pull Requests 1 Actions Packages Projects Releases Wiki Activity
lv_micropython/tests/micropython/viper_ptr8_store.py.exp

6 lines
122 B
Plaintext
Raw Normal View History

py: Add casting to viper; add native mem stores to viper. Viper can now do the following: def store(p:ptr8, c:int): p[0] = c This does a store of c to the memory pointed to by p using a machine instructions inline in the code.
2014-09-29 22:10:41 +01:00
bytearray(b'\x00\x00\x00\x00')
tests: Add more tests for viper, including tests for ViperTypeError's.
2015-04-22 23:18:28 +01:00
bytearray(b')\x00\x00\x00')
bytearray(b')*\x00\x00')
py: Add casting to viper; add native mem stores to viper. Viper can now do the following: def store(p:ptr8, c:int): p[0] = c This does a store of c to the memory pointed to by p using a machine instructions inline in the code.
2014-09-29 22:10:41 +01:00
bytearray(b'++++')
bytearray(b',,,,')
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 113ms Template: 0ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API