Definition at line 23 of file post.cpp.
◆ operator()()
| void example::SurfaceDeleter::operator() |
( |
SDL_Surface * | surface | ) |
const |
|
inline |
Definition at line 24 of file post.cpp.
24 {
25 if (surface != nullptr) {
26 SDL_DestroySurface(surface);
27 }
28 }
The documentation for this struct was generated from the following file: