Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
paho.mqtt.c
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
eclipse
paho.mqtt.c
Commits
c459ea31
Commit
c459ea31
authored
Nov 22, 2017
by
Juergen Kosel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow to include Heap.h into c++
Signed-off-by:
Juergen Kosel
<
juergen.kosel@softing.com
>
parent
ad500799
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
Heap.h
src/Heap.h
+6
-0
No files found.
src/Heap.h
View file @
c459ea31
...
@@ -59,6 +59,9 @@ typedef struct
...
@@ -59,6 +59,9 @@ typedef struct
size_t
max_size
;
/**< max size the heap has reached in bytes */
size_t
max_size
;
/**< max size the heap has reached in bytes */
}
heap_info
;
}
heap_info
;
#if defined(__cplusplus)
extern
"C"
{
#endif
void
*
mymalloc
(
char
*
,
int
,
size_t
size
);
void
*
mymalloc
(
char
*
,
int
,
size_t
size
);
void
*
myrealloc
(
char
*
,
int
,
void
*
p
,
size_t
size
);
void
*
myrealloc
(
char
*
,
int
,
void
*
p
,
size_t
size
);
...
@@ -72,5 +75,8 @@ int HeapDump(FILE* file);
...
@@ -72,5 +75,8 @@ int HeapDump(FILE* file);
int
HeapDumpString
(
FILE
*
file
,
char
*
str
);
int
HeapDumpString
(
FILE
*
file
,
char
*
str
);
void
*
Heap_findItem
(
void
*
p
);
void
*
Heap_findItem
(
void
*
p
);
void
Heap_unlink
(
char
*
file
,
int
line
,
void
*
p
);
void
Heap_unlink
(
char
*
file
,
int
line
,
void
*
p
);
#ifdef __cplusplus
}
#endif
#endif
#endif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment