ObjFW  Check-in [244a072ccf]

Overview
Comment:OFMemoryStream: Remove spurious OF_UNAVAILABLE
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 244a072ccfc3600e43c2d915e1e8ef988b1548bd1041bb0f1b99ca40de09e73b
User & Date: js on 2022-07-31 20:33:10
Other Links: manifest | tags
Context
2022-08-01
21:20
Add support for embedding files into binaries check-in: 1483709ab2 user: js tags: trunk
2022-07-31
20:33
OFMemoryStream: Remove spurious OF_UNAVAILABLE check-in: 244a072ccf user: js tags: trunk
20:10
Add OFMemoryStream check-in: e291e6e982 user: js tags: trunk
Changes

Modified src/OFMemoryStream.m from [99f6625215] to [1697ea3e2b].

30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
			       writable: (bool)writable
{
	return [[[self alloc] initWithMemoryAddress: address
					       size: size
					   writable: writable] autorelease];
}

- (instancetype)init OF_UNAVAILABLE
{
	OF_INVALID_INIT_METHOD
}

- (instancetype)initWithMemoryAddress: (void *)address
				 size: (size_t)size
			     writable: (bool)writable







|







30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
			       writable: (bool)writable
{
	return [[[self alloc] initWithMemoryAddress: address
					       size: size
					   writable: writable] autorelease];
}

- (instancetype)init
{
	OF_INVALID_INIT_METHOD
}

- (instancetype)initWithMemoryAddress: (void *)address
				 size: (size_t)size
			     writable: (bool)writable