Update libraries

This commit is contained in:
iabdalkader 2014-03-22 19:02:49 +02:00
parent 787fbc6e3b
commit 167ba7d9eb
4 changed files with 41 additions and 0 deletions

View File

@ -330,6 +330,7 @@ mp_obj_t mp_obj_complex_binary_op(int op, mp_float_t lhs_real, mp_float_t lhs_im
extern const mp_obj_type_t tuple_type;
void mp_obj_tuple_get(mp_obj_t self_in, uint *len, mp_obj_t **items);
void mp_obj_tuple_del(mp_obj_t self_in);
machine_int_t mp_obj_tuple_hash(mp_obj_t self_in);
// list
extern const mp_obj_type_t list_type;

View File

@ -18,6 +18,8 @@ Q(__getitem__, (const byte*)"\x6b\x04\x0b\x00" "__getitem__")
Q(__setitem__, (const byte*)"\x77\x04\x0b\x00" "__setitem__")
Q(__add__, (const byte*)"\xa5\x02\x07\x00" "__add__")
Q(__sub__, (const byte*)"\xc6\x02\x07\x00" "__sub__")
Q(__repr__, (const byte*)"\x35\x03\x08\x00" "__repr__")
Q(__str__, (const byte*)"\xd5\x02\x07\x00" "__str__")
Q(micropython, (const byte*)"\xbc\x04\x0b\x00" "micropython")
Q(byte_code, (const byte*)"\xae\x03\x09\x00" "byte_code")
Q(native, (const byte*)"\x87\x02\x06\x00" "native")
@ -50,6 +52,7 @@ Q(bytes, (const byte*)"\x27\x02\x05\x00" "bytes")
Q(callable, (const byte*)"\x30\x03\x08\x00" "callable")
Q(chr, (const byte*)"\x3d\x01\x03\x00" "chr")
Q(classmethod, (const byte*)"\x97\x04\x0b\x00" "classmethod")
Q(collections, (const byte*)"\x9f\x04\x0b\x00" "collections")
Q(complex, (const byte*)"\xf8\x02\x07\x00" "complex")
Q(dict, (const byte*)"\xa4\x01\x04\x00" "dict")
Q(dir, (const byte*)"\x3f\x01\x03\x00" "dir")
@ -70,6 +73,7 @@ Q(list, (const byte*)"\xbc\x01\x04\x00" "list")
Q(map, (const byte*)"\x3e\x01\x03\x00" "map")
Q(max, (const byte*)"\x46\x01\x03\x00" "max")
Q(min, (const byte*)"\x44\x01\x03\x00" "min")
Q(namedtuple, (const byte*)"\x2f\x04\x0a\x00" "namedtuple")
Q(next, (const byte*)"\xbf\x01\x04\x00" "next")
Q(ord, (const byte*)"\x45\x01\x03\x00" "ord")
Q(path, (const byte*)"\xad\x01\x04\x00" "path")
@ -103,6 +107,30 @@ Q(generator, (const byte*)"\xc7\x03\x09\x00" "generator")
Q(iterator, (const byte*)"\x6a\x03\x08\x00" "iterator")
Q(module, (const byte*)"\x86\x02\x06\x00" "module")
Q(slice, (const byte*)"\x10\x02\x05\x00" "slice")
Q(math, (const byte*)"\xaa\x01\x04\x00" "math")
Q(pi, (const byte*)"\xd9\x00\x02\x00" "pi")
Q(sqrt, (const byte*)"\xca\x01\x04\x00" "sqrt")
Q(exp, (const byte*)"\x4d\x01\x03\x00" "exp")
Q(expm1, (const byte*)"\xeb\x01\x05\x00" "expm1")
Q(log, (const byte*)"\x42\x01\x03\x00" "log")
Q(log2, (const byte*)"\x74\x01\x04\x00" "log2")
Q(log10, (const byte*)"\xa3\x01\x05\x00" "log10")
Q(cosh, (const byte*)"\xad\x01\x04\x00" "cosh")
Q(sinh, (const byte*)"\xb2\x01\x04\x00" "sinh")
Q(tanh, (const byte*)"\xab\x01\x04\x00" "tanh")
Q(acosh, (const byte*)"\x0e\x02\x05\x00" "acosh")
Q(asinh, (const byte*)"\x13\x02\x05\x00" "asinh")
Q(atanh, (const byte*)"\x0c\x02\x05\x00" "atanh")
Q(cos, (const byte*)"\x45\x01\x03\x00" "cos")
Q(sin, (const byte*)"\x4a\x01\x03\x00" "sin")
Q(tan, (const byte*)"\x43\x01\x03\x00" "tan")
Q(acos, (const byte*)"\xa6\x01\x04\x00" "acos")
Q(asin, (const byte*)"\xab\x01\x04\x00" "asin")
Q(atan, (const byte*)"\xa4\x01\x04\x00" "atan")
Q(atan2, (const byte*)"\xd6\x01\x05\x00" "atan2")
Q(mem_total, (const byte*)"\xc2\x03\x09\x00" "mem_total")
Q(mem_current, (const byte*)"\xa1\x04\x0b\x00" "mem_current")
Q(mem_peak, (const byte*)"\x3f\x03\x08\x00" "mem_peak")
Q(_lt_module_gt_, (const byte*)"\x00\x03\x08\x00" "<module>")
Q(_lt_lambda_gt_, (const byte*)"\xdb\x02\x08\x00" "<lambda>")
Q(_lt_listcomp_gt_, (const byte*)"\xe5\x03\x0a\x00" "<listcomp>")
@ -121,7 +149,9 @@ Q(source_dir, (const byte*)"\x2f\x04\x0a\x00" "source_dir")
Q(main, (const byte*)"\xa5\x01\x04\x00" "main")
Q(sync, (const byte*)"\xbd\x01\x04\x00" "sync")
Q(gc, (const byte*)"\xca\x00\x02\x00" "gc")
Q(repl_info, (const byte*)"\xbe\x03\x09\x00" "repl_info")
Q(delay, (const byte*)"\x0f\x02\x05\x00" "delay")
Q(udelay, (const byte*)"\x84\x02\x06\x00" "udelay")
Q(switch, (const byte*)"\x92\x02\x06\x00" "switch")
Q(SW, (const byte*)"\xaa\x00\x02\x00" "SW")
Q(servo, (const byte*)"\x2f\x02\x05\x00" "servo")
@ -135,6 +165,7 @@ Q(rand, (const byte*)"\xa5\x01\x04\x00" "rand")
Q(Led, (const byte*)"\x15\x01\x03\x00" "Led")
Q(LCD, (const byte*)"\xd3\x00\x03\x00" "LCD")
Q(Servo, (const byte*)"\x0f\x02\x05\x00" "Servo")
Q(SD, (const byte*)"\x97\x00\x02\x00" "SD")
Q(SDcard, (const byte*)"\x31\x02\x06\x00" "SDcard")
Q(I2C, (const byte*)"\xbe\x00\x03\x00" "I2C")
Q(gpio, (const byte*)"\xaf\x01\x04\x00" "gpio")
@ -142,6 +173,8 @@ Q(gpio_in, (const byte*)"\xe5\x02\x07\x00" "gpio_in")
Q(gpio_out, (const byte*)"\x66\x03\x08\x00" "gpio_out")
Q(Usart, (const byte*)"\x0f\x02\x05\x00" "Usart")
Q(ADC, (const byte*)"\xc8\x00\x03\x00" "ADC")
Q(ADC_all, (const byte*)"\x60\x02\x07\x00" "ADC_all")
Q(Audio, (const byte*)"\xf2\x01\x05\x00" "Audio")
Q(open, (const byte*)"\xb2\x01\x04\x00" "open")
Q(File, (const byte*)"\x80\x01\x04\x00" "File")
Q(0_colon__slash_, (const byte*)"\x99\x00\x03\x00" "0:/")
@ -153,6 +186,13 @@ Q(PinAF, (const byte*)"\xae\x01\x05\x00" "PinAF")
Q(PinNamed, (const byte*)"\x0c\x03\x08\x00" "PinNamed")
Q(Exti, (const byte*)"\x9a\x01\x04\x00" "Exti")
Q(ExtiMeta, (const byte*)"\x21\x03\x08\x00" "ExtiMeta")
Q(rtc_info, (const byte*)"\x54\x03\x08\x00" "rtc_info")
Q(millis, (const byte*)"\x8a\x02\x06\x00" "millis")
Q(PULL_NONE, (const byte*)"\xcc\x02\x09\x00" "PULL_NONE")
Q(PULL_UP, (const byte*)"\x41\x02\x07\x00" "PULL_UP")
Q(PULL_DOWN, (const byte*)"\xd4\x02\x09\x00" "PULL_DOWN")
Q(PUSH_PULL, (const byte*)"\xdc\x02\x09\x00" "PUSH_PULL")
Q(OPEN_DRAIN, (const byte*)"\xff\x02\x0a\x00" "OPEN_DRAIN")
Q(Image, (const byte*)"\xe3\x01\x05\x00" "Image")
Q(Imlib, (const byte*)"\xed\x01\x05\x00" "Imlib")
Q(Sensor, (const byte*)"\x7a\x02\x06\x00" "Sensor")

Binary file not shown.

Binary file not shown.