Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
59c675a6
Commit
59c675a6
authored
Jun 21, 2014
by
Paul Sokolovsky
Browse files
py: Include mpconfig.h before all other includes.
It defines types used by all other headers. Fixes #691.
parent
4c4b9d15
Changes
40
Hide whitespace changes
Inline
Side-by-side
py/asmthumb.c
View file @
59c675a6
...
...
@@ -28,8 +28,8 @@
#include
<assert.h>
#include
<string.h>
#include
"misc.h"
#include
"mpconfig.h"
#include
"misc.h"
#include
"asmthumb.h"
// wrapper around everything in this file
...
...
py/asmx64.c
View file @
59c675a6
...
...
@@ -29,8 +29,8 @@
#include
<assert.h>
#include
<string.h>
#include
"misc.h"
#include
"mpconfig.h"
#include
"misc.h"
// wrapper around everything in this file
#if MICROPY_EMIT_X64
...
...
py/binary.c
View file @
59c675a6
...
...
@@ -29,8 +29,8 @@
#include
<string.h>
#include
<assert.h>
#include
"misc.h"
#include
"mpconfig.h"
#include
"misc.h"
#include
"qstr.h"
#include
"obj.h"
#include
"binary.h"
...
...
py/builtintables.c
View file @
59c675a6
...
...
@@ -26,8 +26,8 @@
#include
<stdlib.h>
#include
"misc.h"
#include
"mpconfig.h"
#include
"misc.h"
#include
"qstr.h"
#include
"obj.h"
#include
"builtin.h"
...
...
py/compile.c
View file @
59c675a6
...
...
@@ -31,8 +31,8 @@
#include
<assert.h>
#include
<math.h>
#include
"misc.h"
#include
"mpconfig.h"
#include
"misc.h"
#include
"qstr.h"
#include
"lexer.h"
#include
"parse.h"
...
...
py/emitbc.c
View file @
59c675a6
...
...
@@ -30,8 +30,8 @@
#include
<string.h>
#include
<assert.h>
#include
"misc.h"
#include
"mpconfig.h"
#include
"misc.h"
#include
"qstr.h"
#include
"lexer.h"
#include
"parse.h"
...
...
py/emitcommon.c
View file @
59c675a6
...
...
@@ -28,8 +28,8 @@
#include
<stdint.h>
#include
<assert.h>
#include
"misc.h"
#include
"mpconfig.h"
#include
"misc.h"
#include
"qstr.h"
#include
"lexer.h"
#include
"parse.h"
...
...
py/emitcpy.c
View file @
59c675a6
...
...
@@ -30,8 +30,8 @@
#include
<string.h>
#include
<assert.h>
#include
"misc.h"
#include
"mpconfig.h"
#include
"misc.h"
#include
"qstr.h"
#include
"lexer.h"
#include
"parse.h"
...
...
py/emitglue.c
View file @
59c675a6
...
...
@@ -30,8 +30,8 @@
#include
<string.h>
#include
<assert.h>
#include
"misc.h"
#include
"mpconfig.h"
#include
"misc.h"
#include
"qstr.h"
#include
"obj.h"
#include
"runtime0.h"
...
...
py/emitinlinethumb.c
View file @
59c675a6
...
...
@@ -30,8 +30,8 @@
#include
<stdarg.h>
#include
<assert.h>
#include
"misc.h"
#include
"mpconfig.h"
#include
"misc.h"
#include
"qstr.h"
#include
"lexer.h"
#include
"parse.h"
...
...
py/emitnative.c
View file @
59c675a6
...
...
@@ -48,8 +48,8 @@
#include
<string.h>
#include
<assert.h>
#include
"misc.h"
#include
"mpconfig.h"
#include
"misc.h"
#include
"qstr.h"
#include
"lexer.h"
#include
"parse.h"
...
...
py/emitpass1.c
View file @
59c675a6
...
...
@@ -28,8 +28,8 @@
#include
<stdint.h>
#include
<assert.h>
#include
"misc.h"
#include
"mpconfig.h"
#include
"misc.h"
#include
"qstr.h"
#include
"lexer.h"
#include
"parse.h"
...
...
py/gc.c
View file @
59c675a6
...
...
@@ -33,7 +33,6 @@
#include
"misc.h"
#include
"gc.h"
#include
"misc.h"
#include
"qstr.h"
#include
"obj.h"
#include
"runtime.h"
...
...
py/lexer.c
View file @
59c675a6
...
...
@@ -32,8 +32,8 @@
#include
<stdio.h>
#include
<assert.h>
#include
"misc.h"
#include
"mpconfig.h"
#include
"misc.h"
#include
"qstr.h"
#include
"lexer.h"
...
...
py/lexerstr.c
View file @
59c675a6
...
...
@@ -24,8 +24,8 @@
* THE SOFTWARE.
*/
#include
"misc.h"
#include
"mpconfig.h"
#include
"misc.h"
#include
"qstr.h"
#include
"lexer.h"
...
...
py/lexerunix.c
View file @
59c675a6
...
...
@@ -24,8 +24,8 @@
* THE SOFTWARE.
*/
#include
"misc.h"
#include
"mpconfig.h"
#include
"misc.h"
#if MICROPY_HELPER_LEXER_UNIX
...
...
py/malloc.c
View file @
59c675a6
...
...
@@ -28,8 +28,8 @@
#include
<stdlib.h>
#include
<string.h>
#include
"misc.h"
#include
"mpconfig.h"
#include
"misc.h"
#if 0 // print debugging info
#define DEBUG_printf DEBUG_printf
...
...
py/map.c
View file @
59c675a6
...
...
@@ -27,8 +27,8 @@
#include
<stdlib.h>
#include
<assert.h>
#include
"misc.h"
#include
"mpconfig.h"
#include
"misc.h"
#include
"qstr.h"
#include
"obj.h"
#include
"runtime0.h"
...
...
py/modarray.c
View file @
59c675a6
...
...
@@ -24,8 +24,8 @@
* THE SOFTWARE.
*/
#include
"misc.h"
#include
"mpconfig.h"
#include
"misc.h"
#include
"qstr.h"
#include
"obj.h"
#include
"builtin.h"
...
...
py/modcmath.c
View file @
59c675a6
...
...
@@ -26,8 +26,8 @@
#include
<math.h>
#include
"misc.h"
#include
"mpconfig.h"
#include
"misc.h"
#include
"qstr.h"
#include
"obj.h"
#include
"builtin.h"
...
...
Prev
1
2
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment