ObjFW  Check-in [cce464b94e]

Overview
Comment:OFEmbeddedIRIHandler: Fix missing static
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: cce464b94e408f7cb5de82ddf4401f0bbc1aa0095f74bedfe84cdfee5f3e3f51
User & Date: js on 2024-04-29 03:31:17
Other Links: manifest | tags
Context
2024-04-29
21:42
Properly hide private symbols check-in: f16bccc7b3 user: js tags: trunk
03:31
OFEmbeddedIRIHandler: Fix missing static check-in: 5fb890f145 user: js tags: 1.1
03:31
OFEmbeddedIRIHandler: Fix missing static check-in: cce464b94e user: js tags: trunk
2024-04-28
12:47
Skip (sym)link tests if unavailable check-in: 523f721292 user: js tags: trunk
Changes

Modified src/OFEmbeddedIRIHandler.m from [0aa22bc193] to [275cbe280f].

31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#import "OFOpenItemFailedException.h"

#ifdef OF_HAVE_THREADS
# import "OFOnce.h"
# import "OFPlainMutex.h"
#endif

struct EmbeddedFile {
	OFString *path;
	const uint8_t *bytes;
	size_t size;
} *embeddedFiles = NULL;
size_t numEmbeddedFiles = 0;
#ifdef OF_HAVE_THREADS
static OFPlainMutex mutex;
static OFOnceControl mutexOnceControl = OFOnceControlInitValue;

static void
initMutex(void)
{







|




|







31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#import "OFOpenItemFailedException.h"

#ifdef OF_HAVE_THREADS
# import "OFOnce.h"
# import "OFPlainMutex.h"
#endif

static struct EmbeddedFile {
	OFString *path;
	const uint8_t *bytes;
	size_t size;
} *embeddedFiles = NULL;
static size_t numEmbeddedFiles = 0;
#ifdef OF_HAVE_THREADS
static OFPlainMutex mutex;
static OFOnceControl mutexOnceControl = OFOnceControlInitValue;

static void
initMutex(void)
{