blob: 449f44d3bc0f99db9a640e7b19e2e1313002ca8b [file] [log] [blame]
Damien George04b91472014-05-03 23:27:38 +01001/*
2 * This file is part of the Micro Python project, http://micropython.org/
3 *
4 * The MIT License (MIT)
5 *
6 * Copyright (c) 2013, 2014 Damien P. George
7 *
8 * Permission is hereby granted, free of charge, to any person obtaining a copy
9 * of this software and associated documentation files (the "Software"), to deal
10 * in the Software without restriction, including without limitation the rights
11 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12 * copies of the Software, and to permit persons to whom the Software is
13 * furnished to do so, subject to the following conditions:
14 *
15 * The above copyright notice and this permission notice shall be included in
16 * all copies or substantial portions of the Software.
17 *
18 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
24 * THE SOFTWARE.
25 */
26
Paul Sokolovskya925cb52014-04-11 20:50:15 +030027#include "mpconfig.h"
Damien Georgeeb7bfcb2014-01-04 15:57:35 +000028// All the qstr definitions in this file are available as constants.
Damien George0c36da02014-03-08 15:24:39 +000029// That is, they are in ROM and you can reference them simply as MP_QSTR_xxxx.
Damien Georgeeb7bfcb2014-01-04 15:57:35 +000030
Damien George708c0732014-04-27 19:23:46 +010031Q(*)
Damien Georgeeb7bfcb2014-01-04 15:57:35 +000032Q(__build_class__)
33Q(__class__)
34Q(__doc__)
Paul Sokolovsky1d938c92014-02-04 00:46:17 +020035Q(__import__)
Damien Georgeeb7bfcb2014-01-04 15:57:35 +000036Q(__init__)
Paul Sokolovsky13684fd2014-05-18 20:37:18 +030037Q(__new__)
Damien Georgeeb7bfcb2014-01-04 15:57:35 +000038Q(__locals__)
39Q(__main__)
40Q(__module__)
41Q(__name__)
stijne00eeaf2014-11-12 14:57:34 +010042Q(__hash__)
Damien Georgeeb7bfcb2014-01-04 15:57:35 +000043Q(__next__)
44Q(__qualname__)
Paul Sokolovsky13d52df2014-04-11 23:25:35 +030045Q(__path__)
Damien Georgeeb7bfcb2014-01-04 15:57:35 +000046Q(__repl_print__)
Paul Sokolovskyd0f5e612014-07-25 11:00:15 +030047#if MICROPY_PY___FILE__
48Q(__file__)
49#endif
Damien Georgeeb7bfcb2014-01-04 15:57:35 +000050
Damien George09a0c642014-01-30 10:05:33 +000051Q(__bool__)
Paul Sokolovsky036ad762014-04-13 10:39:25 +030052Q(__contains__)
Paul Sokolovsky44307d52014-03-29 04:10:11 +020053Q(__enter__)
54Q(__exit__)
Damien George09a0c642014-01-30 10:05:33 +000055Q(__len__)
Damien George9e6e9352014-03-26 18:37:06 +000056Q(__iter__)
Damien George7c9c6672014-01-25 00:17:36 +000057Q(__getitem__)
Damien George7d0bfbe2014-02-08 19:01:47 +000058Q(__setitem__)
Paul Sokolovsky14de1142014-04-13 23:55:59 +030059Q(__delitem__)
Damien George7c9c6672014-01-25 00:17:36 +000060Q(__add__)
61Q(__sub__)
Paul Sokolovsky51bbf6a2014-03-16 15:16:54 +020062Q(__repr__)
63Q(__str__)
Damien Georgee44d26a2014-03-31 22:57:56 +010064Q(__getattr__)
muxcc849f72014-04-05 15:49:03 +020065Q(__del__)
Paul Sokolovsky755565d2014-04-25 21:15:16 +030066Q(__call__)
Paul Sokolovsky5473f742014-06-08 00:01:46 +030067Q(__lt__)
Damien George779794a2014-08-26 09:31:26 +010068Q(__gt__)
69Q(__eq__)
70Q(__le__)
71Q(__ge__)
Damien George7c9c6672014-01-25 00:17:36 +000072
Damien Georgeeb7bfcb2014-01-04 15:57:35 +000073Q(micropython)
Damien George3417bc22014-05-10 10:36:38 +010074Q(bytecode)
Damien George2ac4af62014-08-15 16:45:41 +010075Q(const)
76
Damien Georgec90f59e2014-09-06 23:06:36 +010077#if MICROPY_EMIT_NATIVE
Damien Georgeeb7bfcb2014-01-04 15:57:35 +000078Q(native)
79Q(viper)
Damien George2ac4af62014-08-15 16:45:41 +010080Q(uint)
Damien Georgee9dac3b2014-09-29 22:10:41 +010081Q(ptr)
82Q(ptr8)
83Q(ptr16)
Damien George2ac4af62014-08-15 16:45:41 +010084#endif
Damien Georgee5f8a772014-04-21 13:33:15 +010085
86#if MICROPY_EMIT_INLINE_THUMB
Damien Georgeeb7bfcb2014-01-04 15:57:35 +000087Q(asm_thumb)
Damien Georgee5f8a772014-04-21 13:33:15 +010088Q(label)
89Q(align)
90Q(data)
91#endif
Damien Georgeeb7bfcb2014-01-04 15:57:35 +000092
Damien George3d615282014-09-17 23:17:26 +010093Q(builtins)
94
Damien Georgee9906ac2014-01-04 18:44:46 +000095Q(Ellipsis)
Damien Georgeeb7bfcb2014-01-04 15:57:35 +000096Q(StopIteration)
97
Damien Georgec5966122014-02-15 16:10:44 +000098Q(BaseException)
Rachel Dowdall721c55d2014-03-22 15:28:16 +000099Q(ArithmeticError)
Damien George71c51812014-01-04 20:21:15 +0000100Q(AssertionError)
Damien Georgeeb7bfcb2014-01-04 15:57:35 +0000101Q(AttributeError)
Rachel Dowdall721c55d2014-03-22 15:28:16 +0000102Q(BufferError)
Rachel Dowdall721c55d2014-03-22 15:28:16 +0000103Q(EOFError)
Rachel Dowdall721c55d2014-03-22 15:28:16 +0000104Q(Exception)
105Q(FileExistsError)
106Q(FileNotFoundError)
107Q(FloatingPointError)
Rachel Dowdall721c55d2014-03-22 15:28:16 +0000108Q(GeneratorExit)
Paul Sokolovsky7cd54d72014-02-04 03:33:55 +0200109Q(ImportError)
Damien George9528cd62014-01-15 21:23:31 +0000110Q(IndentationError)
Damien Georgeeb7bfcb2014-01-04 15:57:35 +0000111Q(IndexError)
Damien George124df6f2014-10-25 18:19:55 +0100112Q(KeyboardInterrupt)
Damien Georgeeb7bfcb2014-01-04 15:57:35 +0000113Q(KeyError)
Rachel Dowdall721c55d2014-03-22 15:28:16 +0000114Q(LookupError)
115Q(MemoryError)
Damien Georgeeb7bfcb2014-01-04 15:57:35 +0000116Q(NameError)
Paul Sokolovsky76f06de2014-02-09 13:17:36 +0200117Q(NotImplementedError)
Damien George9528cd62014-01-15 21:23:31 +0000118Q(OSError)
Paul Sokolovsky166bb402014-01-18 12:46:43 +0200119Q(OverflowError)
Rachel Dowdall721c55d2014-03-22 15:28:16 +0000120Q(RuntimeError)
Rachel Dowdall721c55d2014-03-22 15:28:16 +0000121Q(SyntaxError)
Damien George7a4ddd22014-05-24 23:32:19 +0100122Q(SystemExit)
Rachel Dowdall721c55d2014-03-22 15:28:16 +0000123Q(TypeError)
124Q(UnboundLocalError)
Rachel Dowdall721c55d2014-03-22 15:28:16 +0000125Q(ValueError)
Rachel Dowdall300c8bd2014-03-20 22:40:38 +0000126Q(ZeroDivisionError)
Damien Georgeeb7bfcb2014-01-04 15:57:35 +0000127
Damien George3ec0a1a2014-03-22 21:31:28 +0000128Q(None)
129Q(False)
130Q(True)
131Q(object)
Rachel Dowdall721c55d2014-03-22 15:28:16 +0000132
Damien Georgea71c83a2014-02-15 11:34:50 +0000133Q(NoneType)
134
Damien Georgeeb7bfcb2014-01-04 15:57:35 +0000135Q(abs)
136Q(all)
137Q(any)
Paul Sokolovsky9512e9e2014-03-25 01:29:09 +0200138Q(args)
Damien Georgedd4f4532014-10-23 13:34:35 +0100139#if MICROPY_PY_ARRAY
Paul Sokolovsky427905c2014-01-18 19:24:47 +0200140Q(array)
Damien Georgedd4f4532014-10-23 13:34:35 +0100141#endif
Damien George897fe0c2014-04-15 22:03:55 +0100142Q(bin)
143Q({:#b})
Damien Georgeeb7bfcb2014-01-04 15:57:35 +0000144Q(bool)
Damien Georgedd4f4532014-10-23 13:34:35 +0100145#if MICROPY_PY_BUILTINS_BYTEARRAY
Paul Sokolovsky427905c2014-01-18 19:24:47 +0200146Q(bytearray)
Damien Georgedd4f4532014-10-23 13:34:35 +0100147#endif
148#if MICROPY_PY_BUILTINS_MEMORYVIEW
149Q(memoryview)
150#endif
Paul Sokolovskya80ff042014-01-20 20:32:50 +0200151Q(bytes)
Damien Georgeeb7bfcb2014-01-04 15:57:35 +0000152Q(callable)
Damien Georgeee3fd462014-05-24 23:03:12 +0100153#if MICROPY_PY_STRUCT
Paul Sokolovskye9db8402014-04-10 03:45:38 +0300154Q(calcsize)
155#endif
Damien Georgeeb7bfcb2014-01-04 15:57:35 +0000156Q(chr)
Damien George64131f32014-02-06 20:31:44 +0000157Q(classmethod)
Paul Sokolovsky48fdaad2014-04-13 10:17:04 +0300158Q(_collections)
Damien Georgef20375e2014-08-12 19:57:52 +0100159#if MICROPY_PY_BUILTINS_COMPLEX
Damien Georgeeb7bfcb2014-01-04 15:57:35 +0000160Q(complex)
Damien Georgef20375e2014-08-12 19:57:52 +0100161Q(real)
162Q(imag)
163#endif
Damien Georgeeb7bfcb2014-01-04 15:57:35 +0000164Q(dict)
Damien George4acb2452014-02-02 22:07:44 +0000165Q(dir)
Damien Georgeeb7bfcb2014-01-04 15:57:35 +0000166Q(divmod)
John R. Lenton9daa7892014-01-14 23:55:01 +0000167Q(enumerate)
Damien Georged02c6d82014-01-15 22:14:03 +0000168Q(eval)
Damien Georgeca476792014-02-03 22:44:10 +0000169Q(exec)
John R. Lentonfca456b2014-01-15 01:37:08 +0000170Q(filter)
Damien George75ec22b2014-08-12 20:16:03 +0100171#if MICROPY_PY_BUILTINS_FLOAT
Damien Georgeeb7bfcb2014-01-04 15:57:35 +0000172Q(float)
Damien George75ec22b2014-08-12 20:16:03 +0100173#endif
Paul Sokolovskya985b452014-04-09 00:40:58 +0300174Q(from_bytes)
Paul Sokolovskye9137b92014-03-26 23:35:13 +0200175Q(getattr)
Paul Sokolovskycc0af3d2014-04-06 01:00:46 +0300176Q(globals)
Paul Sokolovskyff306662014-05-11 19:05:42 +0300177Q(hasattr)
Damien Georgeeb7bfcb2014-01-04 15:57:35 +0000178Q(hash)
Damien George58051112014-04-15 12:42:52 +0100179Q(hex)
Damien Georgeb013aea2014-04-15 12:50:21 +0100180Q(%#x)
xbe0ebf8532014-02-01 19:00:41 -0800181Q(id)
Damien Georgeeb7bfcb2014-01-04 15:57:35 +0000182Q(int)
Damien George004cdce2014-01-09 21:43:51 +0000183Q(isinstance)
184Q(issubclass)
Damien Georgeeb7bfcb2014-01-04 15:57:35 +0000185Q(iter)
186Q(len)
187Q(list)
Paul Sokolovskycc0af3d2014-04-06 01:00:46 +0300188Q(locals)
John R. Lenton39b174e2014-01-15 01:10:09 +0000189Q(map)
Damien Georgeeb7bfcb2014-01-04 15:57:35 +0000190Q(max)
191Q(min)
Paul Sokolovskyd08fd682014-02-27 22:22:04 +0200192Q(namedtuple)
Damien Georgeeb7bfcb2014-01-04 15:57:35 +0000193Q(next)
Damien George897fe0c2014-04-15 22:03:55 +0100194Q(oct)
195Q(%#o)
Damien George27e735f2014-04-05 23:02:23 +0100196Q(open)
Damien Georgeeb7bfcb2014-01-04 15:57:35 +0000197Q(ord)
Paul Sokolovskye11b17c2014-02-05 00:47:06 +0200198Q(path)
Damien Georgeeb7bfcb2014-01-04 15:57:35 +0000199Q(pow)
200Q(print)
201Q(range)
Paul Sokolovsky27f5bdd2014-04-26 21:15:56 +0300202Q(read)
Damien Georgee2fb2ba2014-01-15 21:40:48 +0000203Q(repr)
Damien George4c03b3a2014-08-12 18:33:40 +0100204Q(reversed)
Damien George1559a972014-10-31 11:28:50 +0000205Q(round)
John R. Lenton5c768392014-01-13 05:12:50 +0000206Q(sorted)
Damien George64131f32014-02-06 20:31:44 +0000207Q(staticmethod)
Damien Georgeeb7bfcb2014-01-04 15:57:35 +0000208Q(sum)
Damien George35e2a4e2014-02-05 00:51:47 +0000209Q(super)
Paul Sokolovsky36c44992014-01-13 19:20:46 +0200210Q(str)
Paul Sokolovsky0c59db12014-02-04 07:55:10 +0200211Q(sys)
Paul Sokolovskya985b452014-04-09 00:40:58 +0300212Q(to_bytes)
Damien George71c51812014-01-04 20:21:15 +0000213Q(tuple)
Damien Georgeeb7bfcb2014-01-04 15:57:35 +0000214Q(type)
Paul Sokolovsky9512e9e2014-03-25 01:29:09 +0200215Q(value)
Paul Sokolovsky27f5bdd2014-04-26 21:15:56 +0300216Q(write)
John R. Lenton07205ec2014-01-13 02:31:00 +0000217Q(zip)
Damien Georgeeb7bfcb2014-01-04 15:57:35 +0000218
Damien Georgec9fc6202014-10-25 21:59:14 +0100219#if MICROPY_PY_BUILTINS_COMPILE
220Q(compile)
221Q(code)
222Q(single)
223#endif
224
Damien George48815662014-04-02 10:34:44 +0100225Q(sep)
226Q(end)
227
Damien Georgec12b2212014-03-26 20:15:40 +0000228Q(clear)
229Q(copy)
230Q(fromkeys)
231Q(get)
232Q(items)
233Q(keys)
234Q(pop)
235Q(popitem)
236Q(setdefault)
237Q(update)
238Q(values)
Damien Georgeeb7bfcb2014-01-04 15:57:35 +0000239Q(append)
Damien Georgec12b2212014-03-26 20:15:40 +0000240Q(close)
241Q(send)
242Q(throw)
243Q(count)
244Q(extend)
245Q(index)
246Q(remove)
247Q(insert)
Damien Georgeeb7bfcb2014-01-04 15:57:35 +0000248Q(pop)
249Q(sort)
250Q(join)
xbe7b0f39f2014-01-08 14:23:45 -0800251Q(strip)
Paul Sokolovsky88107842014-04-26 06:20:08 +0300252Q(lstrip)
253Q(rstrip)
Damien Georgeeb7bfcb2014-01-04 15:57:35 +0000254Q(format)
Damien George7d0bfbe2014-02-08 19:01:47 +0000255Q(key)
256Q(reverse)
Damien Georgec12b2212014-03-26 20:15:40 +0000257Q(add)
258Q(clear)
259Q(copy)
Damien Georgec12b2212014-03-26 20:15:40 +0000260Q(pop)
261Q(remove)
Damien Georgec12b2212014-03-26 20:15:40 +0000262Q(find)
263Q(rfind)
xbe3d9a39e2014-04-08 11:42:19 -0700264Q(rindex)
Damien Georgec12b2212014-03-26 20:15:40 +0000265Q(split)
Paul Sokolovsky2a273652014-05-13 08:07:08 +0300266Q(rsplit)
Damien Georgec12b2212014-03-26 20:15:40 +0000267Q(startswith)
Paul Sokolovskyd098c6b2014-05-24 22:46:51 +0300268Q(endswith)
Damien Georgec12b2212014-03-26 20:15:40 +0000269Q(replace)
270Q(partition)
271Q(rpartition)
Paul Sokolovsky69135212014-05-10 19:47:41 +0300272Q(lower)
273Q(upper)
Kim Bautersa3f4b832014-05-31 07:30:03 +0100274Q(isspace)
275Q(isalpha)
276Q(isdigit)
277Q(isupper)
278Q(islower)
Damien George491cbd62014-05-06 16:38:54 +0000279Q(iterable)
280Q(start)
Paul Sokolovskyab5d0822014-01-24 00:22:00 +0200281
Damien Georgea71c83a2014-02-15 11:34:50 +0000282Q(bound_method)
283Q(closure)
284Q(dict_view)
285Q(function)
286Q(generator)
287Q(iterator)
288Q(module)
289Q(slice)
290
Damien George75ec22b2014-08-12 20:16:03 +0100291#if MICROPY_PY_BUILTINS_SET
292Q(discard)
293Q(difference)
294Q(difference_update)
295Q(intersection)
296Q(intersection_update)
297Q(isdisjoint)
298Q(issubset)
299Q(issuperset)
300Q(set)
301Q(symmetric_difference)
302Q(symmetric_difference_update)
303Q(union)
304Q(update)
305#endif
306
Damien Georgefb510b32014-06-01 13:32:54 +0100307#if MICROPY_PY_BUILTINS_FROZENSET
Paul Sokolovskyb181b582014-05-10 16:02:17 +0300308Q(frozenset)
309#endif
310
Damien Georgeee3fd462014-05-24 23:03:12 +0100311#if MICROPY_PY_MATH || MICROPY_PY_CMATH
Damien George0c36da02014-03-08 15:24:39 +0000312Q(math)
Damien Georgea9256392014-03-20 16:39:22 +0000313Q(e)
Damien George0c36da02014-03-08 15:24:39 +0000314Q(pi)
315Q(sqrt)
316Q(pow)
317Q(exp)
Damien George8854e1f2014-03-12 21:31:41 +0000318Q(expm1)
Damien George0c36da02014-03-08 15:24:39 +0000319Q(log)
320Q(log2)
321Q(log10)
322Q(cosh)
323Q(sinh)
324Q(tanh)
325Q(acosh)
326Q(asinh)
327Q(atanh)
328Q(cos)
329Q(sin)
330Q(tan)
331Q(acos)
332Q(asin)
333Q(atan)
334Q(atan2)
Rachel Dowdall5a14a1d2014-03-20 21:26:51 +0000335Q(ceil)
336Q(copysign)
337Q(fabs)
Rachel Dowdall5a14a1d2014-03-20 21:26:51 +0000338Q(fmod)
Rachel Dowdall249b9c72014-03-22 14:39:33 +0000339Q(floor)
Rachel Dowdall5a14a1d2014-03-20 21:26:51 +0000340Q(isfinite)
341Q(isinf)
342Q(isnan)
343Q(trunc)
Rachel Dowdall249b9c72014-03-22 14:39:33 +0000344Q(modf)
345Q(frexp)
346Q(ldexp)
347Q(degrees)
348Q(radians)
349Q(erf)
350Q(erfc)
351Q(gamma)
352Q(lgamma)
Damien Georgedbdfee12014-04-17 17:11:03 +0100353#endif
354
Damien Georgeee3fd462014-05-24 23:03:12 +0100355#if MICROPY_PY_CMATH
Damien Georgedbdfee12014-04-17 17:11:03 +0100356Q(cmath)
357Q(phase)
358Q(polar)
359Q(rect)
360#endif
Damien George0c36da02014-03-08 15:24:39 +0000361
Damien George75ec22b2014-08-12 20:16:03 +0100362#if MICROPY_MEM_STATS
Damien George0c36da02014-03-08 15:24:39 +0000363Q(mem_total)
364Q(mem_current)
365Q(mem_peak)
Paul Sokolovsky6e8ff9c2014-12-01 20:41:56 +0200366Q(mem_info)
367Q(qstr_info)
Damien George75ec22b2014-08-12 20:16:03 +0100368#endif
Damien George0c36da02014-03-08 15:24:39 +0000369
Dave Hylands5b7fd202014-07-01 23:46:53 -0700370#if MICROPY_ENABLE_EMERGENCY_EXCEPTION_BUF && (MICROPY_EMERGENCY_EXCEPTION_BUF_SIZE == 0)
371Q(alloc_emergency_exception_buf)
372#endif
373
Paul Sokolovskyab5d0822014-01-24 00:22:00 +0200374Q(<module>)
375Q(<lambda>)
376Q(<listcomp>)
377Q(<dictcomp>)
378Q(<setcomp>)
379Q(<genexpr>)
Damien Georgeb829b5c2014-01-25 13:51:19 +0000380Q(<string>)
Paul Sokolovskyab5d0822014-01-24 00:22:00 +0200381Q(<stdin>)
Paul Sokolovsky73b70272014-04-13 05:28:46 +0300382
383#if MICROPY_CPYTHON_COMPAT
384Q(encode)
385Q(decode)
386Q(utf-8)
387#endif
Paul Sokolovskya3e50ea2014-04-13 06:55:24 +0300388
Damien Georgeee3fd462014-05-24 23:03:12 +0100389#if MICROPY_PY_SYS
Paul Sokolovskya3e50ea2014-04-13 06:55:24 +0300390Q(argv)
Paul Sokolovsky978d2c02014-04-13 09:53:52 +0300391Q(byteorder)
392Q(big)
Paul Sokolovskyd99e9082014-05-10 16:50:45 +0300393Q(exit)
Paul Sokolovsky978d2c02014-04-13 09:53:52 +0300394Q(little)
Paul Sokolovskyb9b93542014-06-07 23:40:04 +0300395#ifdef MICROPY_PY_SYS_PLATFORM
396Q(platform)
397#endif
Paul Sokolovskya3e50ea2014-04-13 06:55:24 +0300398Q(stdin)
399Q(stdout)
400Q(stderr)
Paul Sokolovskybbae42d2014-04-14 01:46:45 +0300401Q(version)
Paul Sokolovskybaaaf652014-04-13 09:46:58 +0300402Q(version_info)
Paul Sokolovsky4e0eeeb2014-07-03 16:50:11 +0300403#if MICROPY_PY_SYS_MAXSIZE
404Q(maxsize)
405#endif
Paul Sokolovskya3e50ea2014-04-13 06:55:24 +0300406#endif
Damien George777b0f32014-04-13 18:59:45 +0100407
Damien Georgeee3fd462014-05-24 23:03:12 +0100408#if MICROPY_PY_STRUCT
Paul Sokolovsky62044602014-04-19 03:13:15 +0300409Q(struct)
410Q(pack)
411Q(unpack)
412#endif
413
Paul Sokolovsky82158472014-06-28 03:03:47 +0300414#if MICROPY_PY_UCTYPES
415Q(uctypes)
416Q(sizeof)
417Q(addressof)
418Q(bytes_at)
419Q(bytearray_at)
420
421Q(NATIVE)
422Q(LITTLE_ENDIAN)
423Q(BIG_ENDIAN)
424
425Q(VOID)
426
427Q(UINT8)
428Q(INT8)
429Q(UINT16)
430Q(INT16)
431Q(UINT32)
432Q(INT32)
433Q(UINT64)
434Q(INT64)
435
436Q(BFUINT8)
437Q(BFINT8)
438Q(BFUINT16)
439Q(BFINT16)
440Q(BFUINT32)
441Q(BFINT32)
442
443Q(FLOAT32)
444Q(FLOAT64)
445
446Q(ARRAY)
447Q(PTR)
448//Q(BITFIELD)
Paul Sokolovsky2097c8b2014-07-11 00:06:36 +0300449
450Q(BF_POS)
451Q(BF_LEN)
Paul Sokolovsky82158472014-06-28 03:03:47 +0300452#endif
453
Damien Georgeee3fd462014-05-24 23:03:12 +0100454#if MICROPY_PY_IO
Paul Sokolovskyfbdf2f12014-06-12 01:22:25 +0300455Q(_io)
Paul Sokolovsky27f5bdd2014-04-26 21:15:56 +0300456Q(readall)
Paul Sokolovsky1a55b6a2014-10-18 22:44:07 +0300457Q(readinto)
Paul Sokolovsky27f5bdd2014-04-26 21:15:56 +0300458Q(readline)
Damien Georged5f5b2f2014-05-03 22:01:32 +0100459Q(readlines)
Paul Sokolovsky838eb1f2014-11-17 00:16:14 +0200460Q(seek)
Paul Sokolovsky9e296662014-05-19 20:59:13 +0300461Q(FileIO)
462Q(TextIOWrapper)
Paul Sokolovskycb9dc082014-04-26 20:26:14 +0300463Q(StringIO)
464Q(BytesIO)
465Q(getvalue)
Paul Sokolovskycb66f412014-07-13 23:07:42 +0300466Q(file)
stijn2fe4cf72014-10-04 08:51:33 +0200467Q(mode)
468Q(r)
469Q(encoding)
Paul Sokolovskycb9dc082014-04-26 20:26:14 +0300470#endif
471
Damien Georgeee3fd462014-05-24 23:03:12 +0100472#if MICROPY_PY_GC
Paul Sokolovskyf9e54e02014-05-06 02:16:43 +0300473Q(gc)
474Q(collect)
Damien George8c1c7482014-05-08 23:04:49 +0100475Q(disable)
476Q(enable)
Damien George109c1de2014-10-31 21:30:46 +0000477Q(isenabled)
Paul Sokolovsky5aa740c2014-06-24 21:23:40 +0300478Q(mem_free)
479Q(mem_alloc)
Paul Sokolovskyf9e54e02014-05-06 02:16:43 +0300480#endif
481
Damien Georgefb510b32014-06-01 13:32:54 +0100482#if MICROPY_PY_BUILTINS_PROPERTY
Damien George777b0f32014-04-13 18:59:45 +0100483Q(property)
484Q(getter)
485Q(setter)
486Q(deleter)
487#endif
Paul Sokolovsky510296f2014-08-08 22:51:40 +0300488
Paul Sokolovsky34162872014-10-12 08:16:34 -0700489#if MICROPY_PY_UZLIB
490Q(uzlib)
491Q(decompress)
492#endif
493
Damien George612045f2014-09-17 22:56:34 +0100494#if MICROPY_PY_UJSON
495Q(ujson)
496Q(dumps)
Damien George89e46572014-09-21 11:40:01 +0100497Q(loads)
Damien George612045f2014-09-17 22:56:34 +0100498#endif
Paul Sokolovskyc71e0452014-09-12 18:48:07 +0300499
500#if MICROPY_PY_URE
501Q(ure)
502Q(compile)
503Q(match)
504Q(search)
505Q(group)
506Q(DEBUG)
507#endif
Damien Georgef5d69792014-10-22 17:37:18 +0000508
509#if MICROPY_PY_UHEAPQ
510Q(uheapq)
511Q(heappush)
512Q(heappop)
513Q(heapify)
514#endif
Paul Sokolovskyf4b19c82014-11-22 01:19:13 +0200515
516#if MICROPY_PY_UHASHLIB
517Q(uhashlib)
518Q(update)
519Q(digest)
520Q(hexdigest)
521Q(sha256)
522#endif
Paul Sokolovskybfdc2052014-11-29 06:19:30 +0200523
524#if MICROPY_PY_UBINASCII
525Q(ubinascii)
526Q(hexlify)
527#endif