diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-01-29 01:00:36 +0200 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-01-29 01:00:36 +0200 |
commit | 850212203a97754bdaf1844b71c8fe8ee905236f (patch) | |
tree | 7169267c219234143a0ef9473c13b48c35ca156a /unix | |
parent | 6a804cbabad37c0e69e86cc1f18a6b78875e2e45 (diff) | |
download | micropython-850212203a97754bdaf1844b71c8fe8ee905236f.tar.gz micropython-850212203a97754bdaf1844b71c8fe8ee905236f.zip |
unix/main: Remove debug code left from MP_OBJ_TO_PTR refactor.
Diffstat (limited to 'unix')
-rw-r--r-- | unix/main.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/unix/main.c b/unix/main.c index 054dd6acb6..03902a3e9a 100644 --- a/unix/main.c +++ b/unix/main.c @@ -376,26 +376,7 @@ STATIC void set_sys_argv(char *argv[], int argc, int start_arg) { #define PATHLIST_SEP_CHAR ':' #endif -/* -typedef union _a_t { uint32_t u32; uint64_t u64; } a_t; -STATIC const uint64_t table[4] = { - 1, - 2, - 3, - //(a_t){(uint32_t)&set_sys_argv}.u64, - ((a_t){(uint32_t)123}).u64, -}; -*/ - int main(int argc, char **argv) { - /* - printf("sizeof(void*)=%u\n", (uint)sizeof(void*)); - for (int i = 0; i < sizeof(table); ++i) { - byte *ptr = (void*)&table[0]; - printf(" %02x", ptr[i]); - if ((i + 1)%8 == 0) printf("\n"); - } - */ mp_stack_set_limit(40000 * (BYTES_PER_WORD / 4)); pre_process_options(argc, argv); |