ObjectivelyMVC
Object oriented MVC framework for SDL3 and GNU C
Loading...
Searching...
No Matches
ViewController.h File Reference

A ViewController manages a View and its descendants. More...

#include <Objectively/Array.h>
#include <ObjectivelyMVC/View.h>

Go to the source code of this file.

Data Structures

struct  ViewController
 A ViewController manages a View and its descendants. More...
 

Functions

OBJECTIVELYMVC_EXPORT Class * _ViewController (void)
 

Detailed Description

A ViewController manages a View and its descendants.

Definition in file ViewController.h.

Function Documentation

◆ _ViewController()

OBJECTIVELYMVC_EXPORT Class * _ViewController ( void  )

Definition at line 335 of file ViewController.c.

335 {
336 static Class *clazz;
337 static Once once;
338
339 do_once(&once, {
340 clazz = _initialize(&(const ClassDef) {
341 .name = "ViewController",
342 .superclass = _Object(),
343 .instanceSize = sizeof(ViewController),
344 .interfaceOffset = offsetof(ViewController, interface),
345 .interfaceSize = sizeof(ViewControllerInterface),
347 });
348 });
349
350 return clazz;
351}
static void initialize(Class *clazz)
A ViewController manages a View and its descendants.