aboutsummaryrefslogtreecommitdiff
path: root/py/gc.c
diff options
context:
space:
mode:
authorstijn <stijn@ignitron.net>2020-04-16 09:13:57 +0200
committerDamien George <damien.p.george@gmail.com>2020-04-23 11:24:25 +1000
commit84fa3312cfa7d2237d4b56952f2cd6e3591210c4 (patch)
treedc2b3e67bad9969fc5792ca0822798d58addf174 /py/gc.c
parentd6243568a05d423b58522435c3779975acbf56dd (diff)
all: Format code to add space after C++-style comment start.
Note: the uncrustify configuration is explicitly set to 'add' instead of 'force' in order not to alter the comments which use extra spaces after // as a means of indenting text for clarity.
Diffstat (limited to 'py/gc.c')
-rw-r--r--py/gc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/py/gc.c b/py/gc.c
index 7d159ad06..9c6336852 100644
--- a/py/gc.c
+++ b/py/gc.c
@@ -834,7 +834,7 @@ void gc_dump_alloc_table(void) {
}
// print header for new line of blocks
// (the cast to uint32_t is for 16-bit ports)
- //mp_printf(&mp_plat_print, "\n%05x: ", (uint)(PTR_FROM_BLOCK(bl) & (uint32_t)0xfffff));
+ // mp_printf(&mp_plat_print, "\n%05x: ", (uint)(PTR_FROM_BLOCK(bl) & (uint32_t)0xfffff));
mp_printf(&mp_plat_print, "\n%05x: ", (uint)((bl * BYTES_PER_BLOCK) & (uint32_t)0xfffff));
}
int c = ' ';
@@ -956,7 +956,7 @@ void gc_test(void) {
mp_uint_t *p = gc_alloc(i, false);
printf("p=%p\n", p);
if (i & 3) {
- //ptrs[i] = p;
+ // ptrs[i] = p;
}
}