File tree 4 files changed +24
-1
lines changed
4 files changed +24
-1
lines changed Original file line number Diff line number Diff line change 12
12
13
13
#include "umm_malloc_cfg.h" /* user-dependent */
14
14
15
+ #ifdef __cplusplus
16
+ extern "C" {
17
+ #endif
18
+
15
19
typedef struct UMM_HEAP_INFO_t {
16
20
unsigned short int totalEntries ;
17
21
unsigned short int usedEntries ;
@@ -38,6 +42,9 @@ void umm_free( void *ptr );
38
42
39
43
size_t umm_free_heap_size ( void );
40
44
45
+ #ifdef __cplusplus
46
+ }
47
+ #endif
41
48
42
49
/* ------------------------------------------------------------------------ */
43
50
Original file line number Diff line number Diff line change 7
7
8
8
#include <debug.h>
9
9
#ifdef __cplusplus
10
- # extern "C" {
10
+ extern "C" {
11
11
#endif
12
12
#include "c_types.h"
13
13
#ifdef __cplusplus
Original file line number Diff line number Diff line change
1
+ hardware
2
+ tmp
3
+ .env
Original file line number Diff line number Diff line change
1
+ // test that we can include umm_malloc.h from sketch (#1652)
2
+ #include < umm_malloc/umm_malloc.h>
3
+
4
+
5
+ void setup () {
6
+ Serial.begin (115200 );
7
+ delay (1000 );
8
+ umm_info (NULL , 1 );
9
+ }
10
+
11
+ void loop () {
12
+
13
+ }
You can’t perform that action at this time.
0 commit comments