ObjFW  Check-in [7d86d2dd2b]

Overview
Comment:Wrap a few @public in #ifdefs
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 7d86d2dd2b7e3c097555b034d571b5b470487331256cb541b1506a0ec5821300
User & Date: js on 2018-06-16 14:15:38
Other Links: manifest | tags
Context
2018-06-16
14:21
OFXMLElement: Add a few extra type checks check-in: 3af65b5d98 user: js tags: trunk
14:15
Wrap a few @public in #ifdefs check-in: 7d86d2dd2b user: js tags: trunk
2018-06-12
21:33
Rename OFChecksum{Failed -> Mismatch}Exception check-in: 8f21e8acb5 user: js tags: trunk
Changes

Modified src/OFApplication.h from [26f5712fa1] to [b452a90958].

123
124
125
126
127
128
129

130

131
132
133
134
135
136
137
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139







+

+







@interface OFApplication: OFObject
{
	OFString *_programName;
	OFArray OF_GENERIC(OFString *) *_arguments;
	OFMutableDictionary OF_GENERIC(OFString *, OFString *) *_environment;
	int *_argc;
	char ***_argv;
#ifdef OF_APPLICATION_M
@public
#endif
	id <OFApplicationDelegate> _Nullable _delegate;
	void (*_Nullable _SIGINTHandler)(id, SEL);
#ifndef OF_WINDOWS
	void (*_Nullable _SIGHUPHandler)(id, SEL);
	void (*_Nullable _SIGUSR1Handler)(id, SEL);
	void (*_Nullable _SIGUSR2Handler)(id, SEL);
#endif

Modified src/OFApplication.m from [54110d91f4] to [732a9e097e].

12
13
14
15
16
17
18


19
20
21
22
23
24
25
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27







+
+







 * Alternatively, it may be distributed under the terms of the GNU General
 * Public License, either version 2 or 3, which can be found in the file
 * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this
 * file.
 */

#include "config.h"

#define OF_APPLICATION_M

#include <stdio.h>
#include <stdlib.h>
#include <string.h>

#include <errno.h>
#include <signal.h>

Modified src/OFThread.h from [6257fe314c] to [69e72c6c45].

53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
53
54
55
56
57
58
59


60
61
62
63
64
65
66







-
-







 */
@interface OFThread: OFObject
#ifdef OF_HAVE_THREADS
    <OFCopying>
{
# ifdef OF_THREAD_M
@public
# else
@private
# endif
	of_thread_t _thread;
	of_thread_attr_t _attr;
	enum of_thread_running {
		OF_THREAD_NOT_RUNNING,
		OF_THREAD_RUNNING,
		OF_THREAD_WAITING_FOR_JOIN

Modified src/OFThreadPool.h from [65bacd71be] to [e9887d0397].

42
43
44
45
46
47
48

49

50
51
52
53
54
55
56
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58







+

+







 *	 they finish the job they are currently processing.
 */
@interface OFThreadPool: OFObject
{
	size_t _size;
	OFMutableArray *_threads;
	volatile int _count;
#ifdef OF_THREAD_POOL_M
@public
#endif
	OFList *_queue;
	OFCondition *_queueCondition;
	volatile int _doneCount;
	OFCondition *_countCondition;
}

/*!

Modified src/OFThreadPool.m from [80bcd8e5e7] to [926dfd2928].

12
13
14
15
16
17
18


19
20
21
22
23
24
25
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27







+
+







 * Alternatively, it may be distributed under the terms of the GNU General
 * Public License, either version 2 or 3, which can be found in the file
 * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this
 * file.
 */

#include "config.h"

#define OF_THREAD_POOL_M

#import "OFThreadPool.h"
#import "OFArray.h"
#import "OFList.h"
#import "OFThread.h"
#import "OFCondition.h"
#import "OFSystemInfo.h"