Objectively
Ultra-lightweight object oriented framework for GNU C.
Loading...
Searching...
No Matches
URLSessionDataTask.h File Reference

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

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 228 of file URLSessionDataTask.c.

228 {
229 static Class *clazz;
230 static Once once;
231
232 do_once(&once, {
233 clazz = _initialize(&(const ClassDef) {
234 .name = "URLSessionDataTask",
235 .superclass = _URLSessionTask(),
236 .instanceSize = sizeof(URLSessionDataTask),
237 .interfaceOffset = offsetof(URLSessionDataTask, interface),
238 .interfaceSize = sizeof(URLSessionDataTaskInterface),
240 });
241 });
242
243 return clazz;
244}
Class * _initialize(const ClassDef *def)
Initializes the given Class.
Definition Class.c:86
static void initialize(Class *clazz)
Class * _URLSessionTask(void)
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.