Changeset 403 in flair-src for trunk/lib/FlairCore/src
- Timestamp:
- Mar 23, 2021, 9:40:41 AM (4 years ago)
- Location:
- trunk/lib/FlairCore/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairCore/src/Image.cpp
r401 r403 80 80 } 81 81 82 bool Image::IsUsingDefaultAllocAndFree(void) { 83 return (allocFunction==DefaultAllocFunction); 84 } 85 82 86 char* Image::DefaultAllocFunction(ssize_t size){ 83 87 return (char*)malloc(size); -
trunk/lib/FlairCore/src/Image.h
r401 r403 111 111 static void RegisterAllocFunction(char*(*func)(ssize_t size)); 112 112 static void RegisterFreeFunction(void(*func)(char* buffer)); 113 static bool IsUsingDefaultAllocAndFree(void); 113 114 static char* AllocFunction(ssize_t size); 114 115 static void FreeFunction(char* buffer);
Note:
See TracChangeset
for help on using the changeset viewer.