diff options
| author | Scott Shawcroft <scott@tannewt.org> | 2020-07-17 17:02:13 -0700 |
|---|---|---|
| committer | Scott Shawcroft <scott@tannewt.org> | 2020-07-17 17:15:04 -0700 |
| commit | 07f031c70840352893e7137abbf7d564c3d4a0b7 (patch) | |
| tree | ce168f36e6628d95ac6f844632a6461cf02e6744 /shared-module/memorymonitor/AllocationAlarm.h | |
| parent | a1e4814a27713bd08b836cbae2afa9c858bfd4e4 (diff) | |
Add ignore() and fix docs
Diffstat (limited to 'shared-module/memorymonitor/AllocationAlarm.h')
| -rw-r--r-- | shared-module/memorymonitor/AllocationAlarm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/shared-module/memorymonitor/AllocationAlarm.h b/shared-module/memorymonitor/AllocationAlarm.h index 95381c660..172c24f6c 100644 --- a/shared-module/memorymonitor/AllocationAlarm.h +++ b/shared-module/memorymonitor/AllocationAlarm.h @@ -39,6 +39,7 @@ typedef struct _memorymonitor_allocationalarm_obj_t memorymonitor_allocationalar typedef struct _memorymonitor_allocationalarm_obj_t { mp_obj_base_t base; size_t minimum_block_count; + mp_int_t count; // Store the location that points to us so we can remove ourselves. memorymonitor_allocationalarm_obj_t** previous; memorymonitor_allocationalarm_obj_t* next; |
