ObjectivelyMVC 0.1.0
Object oriented MVC framework for OpenGL, SDL2 and GNU C
Data Structures | Functions
Image.h File Reference

Image loading. More...

#include <SDL_video.h>
#include <Objectively/Resource.h>
#include <ObjectivelyMVC/Types.h>

Go to the source code of this file.

Data Structures

struct  Image
 Image loading. More...
 

Functions

OBJECTIVELYMVC_EXPORT Class * _Image (void)
 

Detailed Description

Image loading.

Definition in file Image.h.

Function Documentation

◆ _Image()

OBJECTIVELYMVC_EXPORT Class * _Image ( void  )

Definition at line 211 of file Image.c.

211 {
212 static Class *clazz;
213 static Once once;
214
215 do_once(&once, {
216 clazz = _initialize(&(const ClassDef) {
217 .name = "Image",
218 .superclass = _Object(),
219 .instanceSize = sizeof(Image),
220 .interfaceOffset = offsetof(Image, interface),
221 .interfaceSize = sizeof(ImageInterface),
223 });
224 });
225
226 return clazz;
227}
static void initialize(Class *clazz)
Definition: Image.c:190
Image loading.
Definition: Image.h:38