Objectively 1.0.0
Ultra-lightweight object oriented framework for GNU C.
Data Structures | Functions
URLSessionDataTask.h File Reference

Use data tasks to send and receive Data in-memory. More...

#include <Objectively/Data.h>
#include <Objectively/URLSessionTask.h>

Go to the source code of this file.

Data Structures

struct  URLSessionDataTask
 Use data tasks to send and receive Data in-memory. More...
 

Functions

OBJECTIVELY_EXPORT Class_URLSessionDataTask (void)
 

Detailed Description

Use data tasks to send and receive Data in-memory.

Definition in file URLSessionDataTask.h.

Function Documentation

◆ _URLSessionDataTask()

OBJECTIVELY_EXPORT Class * _URLSessionDataTask ( void  )

Definition at line 99 of file URLSessionDataTask.c.

99 {
100 static Class *clazz;
101 static Once once;
102
103 do_once(&once, {
104 clazz = _initialize(&(const ClassDef) {
105 .name = "URLSessionDataTask",
106 .superclass = _URLSessionTask(),
107 .instanceSize = sizeof(URLSessionDataTask),
108 .interfaceOffset = offsetof(URLSessionDataTask, interface),
109 .interfaceSize = sizeof(URLSessionDataTaskInterface),
111 });
112 });
113
114 return clazz;
115}
Class * _initialize(const ClassDef *def)
Initializes the given Class.
Definition: Class.c:91
static void initialize(Class *clazz)
long Once
The Once type.
Definition: Once.h:37
#define do_once(once, block)
Executes the given block at most one time.
Definition: Once.h:43
ClassDefs are passed to _initialize via an archetype to initialize a Class.
Definition: Class.h:41
The runtime representation of a Class.
Definition: Class.h:95
Use data tasks to send and receive Data in-memory.
Class * _URLSessionTask(void)
The URLSessionTask archetype.