- Timestamp:
- Jun 20, 2015, 1:27:10 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20150616/Ohana/src/libohana/include/ohana_allocate.h
r38491 r38504 1 1 # ifndef OHANA_ALLOCATE 2 2 # define OHANA_ALLOCATE 3 4 # define OHANA_MEMMAGIC (uint32_t) 0xdeadbeef 5 6 typedef struct OhanaMemblock { 7 uint32_t startblock; // endpost marker 8 struct OhanaMemblock *prevBlock; // previously allocated memory 9 struct OhanaMemblock *nextBlock; // next allocated memory 10 size_t size; // size of memory 11 const char *file; // file (re)allocated 12 const char *func; // func (re)allocated 13 int line; // line (re)allocated 14 int freed; // memory has been freed 15 int dummy; // need to put endblock on the endpost 16 uint32_t endblock; // endpost marker 17 } OhanaMemblock; 3 18 4 19 typedef struct {
Note:
See TracChangeset
for help on using the changeset viewer.
