py: Change uint to mp_uint_t in runtime.h, stackctrl.h, binary.h.

Part of code cleanup, working towards resolving issue #50.
This commit is contained in:
Damien George
2014-08-30 14:59:21 +01:00
parent 4d91723587
commit 4abff7500f
21 changed files with 62 additions and 63 deletions

View File

@@ -40,7 +40,7 @@ void mp_stack_ctrl_init() {
stack_top = (char*)&stack_dummy;
}
uint mp_stack_usage() {
mp_uint_t mp_stack_usage() {
// Assumes descending stack
volatile int stack_dummy;
return stack_top - (char*)&stack_dummy;
@@ -48,9 +48,9 @@ uint mp_stack_usage() {
#if MICROPY_STACK_CHECK
static uint stack_limit = 10240;
static mp_uint_t stack_limit = 10240;
void mp_stack_set_limit(uint limit) {
void mp_stack_set_limit(mp_uint_t limit) {
stack_limit = limit;
}