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
df896ece
Commit
df896ece
authored
Jun 08, 2014
by
Damien George
Browse files
Merge branch 'alloca' of github.com:marcusva/micropython into marcusva-alloca
parents
9e951498
0c90eb16
Changes
7
Hide whitespace changes
Inline
Side-by-side
py/builtinimport.c
View file @
df896ece
...
...
@@ -29,7 +29,6 @@
#include
<stdio.h>
#include
<string.h>
#include
<assert.h>
#include
<alloca.h>
#include
"mpconfig.h"
#include
"nlr.h"
...
...
py/objfun.c
View file @
df896ece
...
...
@@ -28,7 +28,6 @@
#include
<stdbool.h>
#include
<string.h>
#include
<assert.h>
#include
<alloca.h>
#include
"mpconfig.h"
#include
"nlr.h"
...
...
py/runtime.c
View file @
df896ece
...
...
@@ -27,7 +27,6 @@
#include
<stdio.h>
#include
<string.h>
#include
<assert.h>
#include
<alloca.h>
#include
"mpconfig.h"
#include
"nlr.h"
...
...
py/vm.c
View file @
df896ece
...
...
@@ -28,7 +28,6 @@
#include
<stdio.h>
#include
<string.h>
#include
<assert.h>
#include
<alloca.h>
#include
"mpconfig.h"
#include
"nlr.h"
...
...
unix/modsocket.c
View file @
df896ece
...
...
@@ -37,7 +37,6 @@
#include
<arpa/inet.h>
#include
<netdb.h>
#include
<errno.h>
#include
<alloca.h>
#include
"mpconfig.h"
#include
"nlr.h"
...
...
unix/mpconfigport.h
View file @
df896ece
...
...
@@ -99,3 +99,11 @@ extern const struct _mp_obj_fun_native_t mp_builtin_open_obj;
#define MICROPY_PORT_BUILTINS \
{ MP_OBJ_NEW_QSTR(MP_QSTR_input), (mp_obj_t)&mp_builtin_input_obj }, \
{ MP_OBJ_NEW_QSTR(MP_QSTR_open), (mp_obj_t)&mp_builtin_open_obj },
/* We need the correct header for alloca() */
#ifdef __FreeBSD__
#include
<stdlib.h>
#else
#include
<alloca.h>
#endif
windows/mpconfigport.h
View file @
df896ece
...
...
@@ -114,7 +114,7 @@ void msec_sleep(double msec);
#include
<stddef.h>
//for NULL
#include
<assert.h>
//for assert
#include
<alloca.h>
//for alloca()
// Functions implemented in platform code
...
...
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