Changeset 401 in flair-src for trunk/lib/FlairCore
- Timestamp:
- Mar 18, 2021, 11:07:59 AM (4 years ago)
- Location:
- trunk/lib/FlairCore/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairCore/src/Image.cpp
r338 r401 64 64 void Image::RawRead(char *dst) const { Warn("non implementé\n"); } 65 65 66 char* Image::AllocFunction(ssize_t size) { 67 return allocFunction(size); 68 } 69 70 void Image::FreeFunction(char* buffer) { 71 freeFunction(buffer); 72 } 73 66 74 void Image::RegisterAllocFunction(char*(*func)(ssize_t size)) { 67 75 if(allocFunction==DefaultAllocFunction) allocFunction=func; -
trunk/lib/FlairCore/src/Image.h
r353 r401 111 111 static void RegisterAllocFunction(char*(*func)(ssize_t size)); 112 112 static void RegisterFreeFunction(void(*func)(char* buffer)); 113 static char* AllocFunction(ssize_t size); 114 static void FreeFunction(char* buffer); 113 115 114 116 private:
Note:
See TracChangeset
for help on using the changeset viewer.