Changeset 326 in flair-src for branches/sanscv/lib/FlairCore/src
- Timestamp:
- Sep 3, 2019, 3:42:07 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/sanscv/lib/FlairCore/src/Image.cpp
r324 r326 29 29 : io_data(parent, name, n), dataType(width, height, format) { 30 30 this->allocate_data = allocate_data; 31 Printf("Image %s\n",ObjectName().c_str()); 31 32 32 if (allocate_data) { 33 33 switch (format) { … … 73 73 74 74 char* Image::DefaultAllocFunction(ssize_t size){ 75 Printf("default alloc %i\n",size);76 75 return (char*)malloc(size); 77 76 } 78 77 79 78 void Image::DefaultFreeFunction(char* buffer){ 80 Printf("default free\n");81 79 free(buffer); 82 80 }
Note:
See TracChangeset
for help on using the changeset viewer.