Permalink
Browse files

Add license header to (almost) all files.

Blanket wide to all .c and .h files.  Some files originating from ST are
difficult to deal with (license wise) so it was left out of those.

Also merged modpyb.h, modos.h, modstm.h and modtime.h in stmhal/.
  • Loading branch information...
1 parent ff380c2 commit 04b9147e150d2d6fa3750f312fe328b6a71c1b28 @dpgeorge dpgeorge committed May 3, 2014
Showing with 7,404 additions and 1,541 deletions.
  1. +1 −1 LICENSE
  2. +3 −2 py/argcheck.c
  3. +26 −0 py/asmthumb.c
  4. +26 −0 py/asmthumb.h
  5. +26 −0 py/asmx64.c
  6. +26 −0 py/asmx64.h
  7. +26 −0 py/bc.h
  8. +26 −0 py/bc0.h
  9. +26 −0 py/binary.c
  10. +26 −0 py/binary.h
  11. +26 −0 py/builtin.c
  12. +26 −0 py/builtin.h
  13. +26 −0 py/builtinevex.c
  14. +26 −0 py/builtinimport.c
  15. +26 −0 py/builtintables.c
  16. +26 −0 py/builtintables.h
  17. +26 −0 py/compile.c
  18. +26 −0 py/compile.h
  19. +26 −0 py/emit.h
  20. +26 −0 py/emitbc.c
  21. +26 −0 py/emitcommon.c
  22. +26 −0 py/emitcpy.c
  23. +26 −0 py/emitglue.c
  24. +26 −0 py/emitglue.h
  25. +26 −0 py/emitinlinethumb.c
  26. +26 −0 py/emitnative.c
  27. +26 −0 py/emitpass1.c
  28. +26 −0 py/formatfloat.c
  29. +26 −0 py/formatfloat.h
  30. +26 −0 py/gc.c
  31. +26 −0 py/gc.h
  32. +26 −0 py/grammar.h
  33. +26 −0 py/lexer.c
  34. +26 −0 py/lexer.h
  35. +25 −0 py/lexerstr.c
  36. +26 −0 py/lexerunix.c
  37. +26 −0 py/lexerunix.h
  38. +26 −0 py/malloc.c
  39. +26 −0 py/map.c
  40. +26 −0 py/misc.h
  41. +26 −0 py/modarray.c
  42. +26 −0 py/modcmath.c
  43. +26 −0 py/modcollections.c
  44. +26 −0 py/modio.c
  45. +26 −0 py/modmath.c
  46. +26 −0 py/modmicropython.c
  47. +26 −0 py/modstruct.c
  48. +26 −0 py/modsys.c
  49. +26 −0 py/mpconfig.h
  50. +26 −0 py/mpz.c
  51. +26 −0 py/mpz.h
  52. +26 −0 py/nlr.h
  53. +26 −0 py/nlrsetjmp.c
  54. +26 −0 py/nlrthumb.S
  55. +26 −0 py/nlrx64.S
  56. +26 −0 py/nlrx86.S
  57. +26 −0 py/obj.c
  58. +26 −0 py/obj.h
  59. +26 −0 py/objarray.c
  60. +26 −0 py/objarray.h
  61. +26 −0 py/objbool.c
  62. +26 −0 py/objboundmeth.c
  63. +26 −0 py/objcell.c
  64. +26 −0 py/objclosure.c
  65. +26 −0 py/objcomplex.c
  66. +26 −0 py/objdict.c
  67. +26 −0 py/objenumerate.c
  68. +26 −0 py/objexcept.c
  69. +26 −0 py/objfilter.c
  70. +26 −0 py/objfloat.c
  71. +26 −0 py/objfun.c
  72. +26 −0 py/objfun.h
  73. +26 −0 py/objgenerator.c
  74. +26 −0 py/objgenerator.h
  75. +26 −0 py/objgetitemiter.c
  76. +26 −0 py/objint.c
  77. +26 −0 py/objint.h
  78. +26 −0 py/objint_longlong.c
  79. +26 −0 py/objint_mpz.c
  80. +26 −0 py/objlist.c
  81. +26 −0 py/objlist.h
  82. +26 −0 py/objmap.c
  83. +26 −0 py/objmodule.c
  84. +26 −0 py/objmodule.h
  85. +26 −0 py/objnamedtuple.c
  86. +26 −0 py/objnone.c
  87. +26 −0 py/objobject.c
  88. +26 −0 py/objproperty.c
  89. +26 −0 py/objrange.c
  90. +26 −0 py/objset.c
  91. +26 −0 py/objslice.c
  92. +26 −0 py/objstr.c
  93. +26 −0 py/objstr.h
  94. +26 −0 py/objstringio.c
  95. +26 −0 py/objtuple.c
  96. +26 −0 py/objtuple.h
  97. +26 −0 py/objtype.c
  98. +26 −0 py/objtype.h
  99. +26 −0 py/objzip.c
  100. +26 −0 py/opmethods.c
  101. +26 −0 py/parse.c
  102. +26 −0 py/parse.h
  103. +26 −0 py/parsehelper.c
  104. +26 −0 py/parsehelper.h
  105. +26 −0 py/parsenum.c
  106. +26 −0 py/parsenum.h
  107. +26 −0 py/parsenumbase.c
  108. +26 −0 py/parsenumbase.h
  109. +26 −0 py/pfenv.c
  110. +26 −0 py/pfenv.h
  111. +26 −0 py/qstr.c
  112. +26 −0 py/qstr.h
  113. +26 −0 py/qstrdefs.h
  114. +26 −0 py/repl.c
  115. +26 −0 py/repl.h
  116. +26 −0 py/runtime.c
  117. +26 −0 py/runtime.h
  118. +26 −0 py/runtime0.h
  119. +26 −0 py/scope.c
  120. +26 −0 py/scope.h
  121. +26 −0 py/sequence.c
  122. +26 −0 py/showbc.c
  123. +26 −0 py/smallint.c
  124. +26 −0 py/smallint.h
  125. +26 −0 py/stream.c
  126. +26 −0 py/stream.h
  127. +26 −0 py/unicode.c
  128. +26 −0 py/vm.c
  129. +26 −0 py/vmentrytable.h
  130. +26 −0 py/vstr.c
  131. +26 −0 stmhal/accel.c
  132. +26 −0 stmhal/accel.h
  133. +26 −0 stmhal/adc.c
  134. +26 −0 stmhal/adc.h
  135. +26 −0 stmhal/bufhelper.c
  136. +26 −0 stmhal/bufhelper.h
  137. +26 −0 stmhal/dac.c
  138. +26 −0 stmhal/dac.h
  139. +28 −8 stmhal/diskio.c
  140. +114 −89 stmhal/diskio.h
  141. +26 −0 stmhal/extint.c
  142. +26 −0 stmhal/extint.h
  143. +233 −212 stmhal/ffconf.h
  144. +26 −0 stmhal/file.c
  145. +26 −0 stmhal/file.h
  146. +26 −0 stmhal/flash.c
  147. +26 −0 stmhal/flash.h
  148. +26 −0 stmhal/font_petme128_8x8.h
  149. +26 −0 stmhal/gccollect.c
  150. +26 −0 stmhal/gccollect.h
  151. +26 −0 stmhal/help.c
  152. +26 −0 stmhal/i2c.c
  153. +26 −0 stmhal/i2c.h
  154. +26 −0 stmhal/import.c
  155. +26 −0 stmhal/input.c
  156. +26 −0 stmhal/lcd.c
  157. +26 −0 stmhal/lcd.h
  158. +26 −0 stmhal/led.c
  159. +26 −0 stmhal/led.h
  160. +26 −0 stmhal/lexerfatfs.c
  161. +26 −0 stmhal/lexerfatfs.h
  162. +26 −0 stmhal/main.c
  163. +26 −0 stmhal/math.c
  164. +28 −2 stmhal/mathsincos.c
  165. +27 −1 stmhal/modos.c
  166. +0 −1 stmhal/modos.h
  167. +27 −1 stmhal/modpyb.c
  168. +0 −1 stmhal/modpyb.h
  169. +27 −1 stmhal/modstm.c
  170. +0 −1 stmhal/modstm.h
  171. +27 −1 stmhal/modtime.c
  172. +0 −1 stmhal/modtime.h
  173. +26 −0 stmhal/mpconfigport.h
  174. +26 −0 stmhal/pendsv.c
  175. +26 −0 stmhal/pendsv.h
  176. +26 −0 stmhal/pin.c
  177. +26 −0 stmhal/pin.h
  178. +26 −0 stmhal/pin_named_pins.c
  179. +30 −0 stmhal/portmodules.h
  180. +26 −0 stmhal/printf.c
  181. +26 −0 stmhal/pybstdio.c
  182. +26 −0 stmhal/pybstdio.h
  183. +26 −0 stmhal/pybwlan.c
  184. +26 −0 stmhal/pybwlan.h
  185. +26 −0 stmhal/pyexec.c
  186. +26 −0 stmhal/pyexec.h
  187. +26 −0 stmhal/qstrdefsport.h
  188. +26 −0 stmhal/readline.c
  189. +26 −0 stmhal/readline.h
  190. +26 −0 stmhal/rng.c
  191. +26 −0 stmhal/rng.h
  192. +26 −0 stmhal/rtc.c
  193. +26 −0 stmhal/rtc.h
  194. +26 −0 stmhal/sdcard.c
  195. +26 −0 stmhal/sdcard.h
  196. +26 −0 stmhal/servo.c
  197. +26 −0 stmhal/servo.h
  198. +26 −0 stmhal/spi.c
  199. +26 −0 stmhal/spi.h
  200. +26 −0 stmhal/std.h
  201. +147 −138 stmhal/stm32f4xx_hal_msp.c
  202. +388 −409 stmhal/stm32f4xx_it.c
  203. +79 −73 stmhal/stm32f4xx_it.h
  204. +26 −0 stmhal/storage.c
  205. +26 −0 stmhal/storage.h
  206. +26 −0 stmhal/string0.c
  207. +356 −337 stmhal/system_stm32f4xx.c
  208. +26 −0 stmhal/systick.c
  209. +26 −0 stmhal/systick.h
  210. +26 −0 stmhal/timer.c
  211. +26 −0 stmhal/timer.h
  212. +26 −0 stmhal/uart.c
  213. +26 −0 stmhal/uart.h
  214. +26 −0 stmhal/usb.c
  215. +26 −0 stmhal/usb.h
  216. +7 −0 stmhal/usbd_cdc_interface.c
  217. +4 −14 stmhal/usbd_cdc_interface.h
  218. +4 −0 stmhal/usbd_conf.c
  219. +6 −2 stmhal/usbd_conf.h
  220. +26 −0 stmhal/usbd_desc.h
  221. +250 −246 stmhal/usbd_desc_cdc_msc.c
  222. +4 −0 stmhal/usbd_msc_storage.c
  223. +26 −0 stmhal/usbd_msc_storage.h
  224. +26 −0 stmhal/usrsw.c
  225. +26 −0 stmhal/usrsw.h
  226. +26 −0 unix-cpy/main.c
  227. +26 −0 unix-cpy/mpconfigport.h
  228. +26 −0 unix/file.c
  229. +26 −0 unix/gccollect.c
  230. +26 −0 unix/main.c
  231. +26 −0 unix/modffi.c
  232. +26 −0 unix/modsocket.c
  233. +26 −0 unix/modtime.c
  234. +26 −0 unix/mpconfigport.h
  235. +26 −0 unix/qstrdefsport.h
  236. +26 −0 windows/alloca.h
  237. +26 −0 windows/init.c
  238. +26 −0 windows/init.h
  239. +26 −0 windows/mpconfigport.h
  240. +26 −0 windows/realpath.c
  241. +25 −0 windows/realpath.h
View
@@ -1,6 +1,6 @@
The MIT License (MIT)
-Copyright (c) 2013 Damien P. George
+Copyright (c) 2013, 2014 Damien P. George
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
View
@@ -1,9 +1,9 @@
/*
- * This file is part of MicroPython project, http://micropython.org/
+ * This file is part of the Micro Python project, http://micropython.org/
*
* The MIT License (MIT)
*
- * Copyright (c) 2013 Damien P. George
+ * Copyright (c) 2013, 2014 Damien P. George
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,6 +23,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
+
#include <stdlib.h>
#include <assert.h>
View
@@ -1,3 +1,29 @@
+/*
+ * This file is part of the Micro Python project, http://micropython.org/
+ *
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2013, 2014 Damien P. George
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ * THE SOFTWARE.
+ */
+
#include <stdio.h>
#include <assert.h>
#include <string.h>
View
@@ -1,3 +1,29 @@
+/*
+ * This file is part of the Micro Python project, http://micropython.org/
+ *
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2013, 2014 Damien P. George
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ * THE SOFTWARE.
+ */
+
#define ASM_THUMB_PASS_1 (1)
#define ASM_THUMB_PASS_2 (2)
#define ASM_THUMB_PASS_3 (3)
View
@@ -1,3 +1,29 @@
+/*
+ * This file is part of the Micro Python project, http://micropython.org/
+ *
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2013, 2014 Damien P. George
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ * THE SOFTWARE.
+ */
+
#include <stdint.h>
#include <stdio.h>
#include <assert.h>
View
@@ -1,3 +1,29 @@
+/*
+ * This file is part of the Micro Python project, http://micropython.org/
+ *
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2013, 2014 Damien P. George
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ * THE SOFTWARE.
+ */
+
#define ASM_X64_PASS_1 (1)
#define ASM_X64_PASS_2 (2)
#define ASM_X64_PASS_3 (3)
View
@@ -1,3 +1,29 @@
+/*
+ * This file is part of the Micro Python project, http://micropython.org/
+ *
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2013, 2014 Damien P. George
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ * THE SOFTWARE.
+ */
+
// Exception stack entry
typedef struct _mp_exc_stack {
const byte *handler;
View
@@ -1,3 +1,29 @@
+/*
+ * This file is part of the Micro Python project, http://micropython.org/
+ *
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2013, 2014 Damien P. George
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ * THE SOFTWARE.
+ */
+
// Micro Python byte-codes.
// The comment at the end of the line (if it exists) tells the arguments to the byte-code.
View
@@ -1,3 +1,29 @@
+/*
+ * This file is part of the Micro Python project, http://micropython.org/
+ *
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2013, 2014 Damien P. George
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ * THE SOFTWARE.
+ */
+
#include <stdint.h>
#include <stdlib.h>
#include <assert.h>
View
@@ -1,3 +1,29 @@
+/*
+ * This file is part of the Micro Python project, http://micropython.org/
+ *
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2013, 2014 Damien P. George
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ * THE SOFTWARE.
+ */
+
// Use special typecode to differentiate repr() of bytearray vs array.array('B')
// (underlyingly they're same).
#define BYTEARRAY_TYPECODE 0
View
@@ -1,3 +1,29 @@
+/*
+ * This file is part of the Micro Python project, http://micropython.org/
+ *
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2013, 2014 Damien P. George
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ * THE SOFTWARE.
+ */
+
#include <stdio.h>
#include <assert.h>
View
@@ -1,3 +1,29 @@
+/*
+ * This file is part of the Micro Python project, http://micropython.org/
+ *
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2013, 2014 Damien P. George
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ * THE SOFTWARE.
+ */
+
mp_obj_t mp_builtin___import__(uint n_args, mp_obj_t *args);
MP_DECLARE_CONST_FUN_OBJ(mp_builtin___build_class___obj);
View
@@ -1,3 +1,29 @@
+/*
+ * This file is part of the Micro Python project, http://micropython.org/
+ *
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2013, 2014 Damien P. George
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ * THE SOFTWARE.
+ */
+
#include <stdint.h>
#include "mpconfig.h"
View
@@ -1,3 +1,29 @@
+/*
+ * This file is part of the Micro Python project, http://micropython.org/
+ *
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2013, 2014 Damien P. George
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ * THE SOFTWARE.
+ */
+
#include <stdint.h>
#include <stdio.h>
#include <string.h>
Oops, something went wrong.

0 comments on commit 04b9147

Please sign in to comment.