Changeset 8243cf9 for src/examples/strings/src/internal/VbyteSM.h
- Timestamp:
- Apr 27, 2016, 4:54:34 PM (7 years ago)
- Branches:
- string
- Children:
- 9ea58ca
- Parents:
- 7ea1b3a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/examples/strings/src/internal/VbyteSM.h
r7ea1b3a r8243cf9 1 1 #pragma once 2 3 #include <stdlib> 2 4 3 5 typedef char char_t; … … 14 16 HandleNode_t* previous; 15 17 }; 16 17 static inline void ctor(HandleNode_t* const this);18 static inline void ctor(HandleNode_t* const this, VbyteHeap_t* heap);19 static inline void dtor(HandleNode_t* const this);20 18 21 19 void DeleteNode(HandleNode_t* const this); … … 40 38 HandleNode_t Header; 41 39 }; 42 43 static inline void ctor(VbyteHeap* const this, int size);44 static inline void dtor(VbyteHeap* const this);45 40 46 41 void compaction(VbyteHeap* const this); … … 84 79 this->ExtVbyte = (void*)( this->StartVbyte + this->CurrSize ); 85 80 86 ctor( &this->Header);81 ctor((HandleNode_t* const)&this->Header); 87 82 this->Header.next = &this->Header; 88 83 this->Header.previous = &this->Header;
Note: See TracChangeset
for help on using the changeset viewer.