ObjFW  Check-in [0784b353da]

Overview
Comment:Fix linklib/init.m
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | amiga-library
Files: files | file ages | folders
SHA3-256: 0784b353daedfdc5938ee9fac77b06b14e92184f5769f3d924f19213b6a2fa69
User & Date: js on 2022-11-15 22:26:06
Other Links: branch diff | manifest | tags
Context
2022-11-15
22:30
Ignore -Warray-parameter for generated linklib check-in: 299216faf1 user: js tags: amiga-library
22:26
Fix linklib/init.m check-in: 0784b353da user: js tags: amiga-library
2022-11-13
12:25
Pass asprintf from linklib on MorphOS check-in: 34e0add5b4 user: js tags: amiga-library
Changes

Modified src/linklib/init.m from [16bd880c11] to [13e4fd2318].

103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
void *__objc_class_name_OFMutablePair;
void *__objc_class_name_OFMutableSet;
void *__objc_class_name_OFMutableString;
void *__objc_class_name_OFMutableTarArchiveEntry;
void *__objc_class_name_OFMutableTriple;
void *__objc_class_name_OFMutableURI;
void *__objc_class_name_OFMutableZIPArchiveEntry;
void *__objc_class_name_OFNotification
void *__objc_class_name_OFNotificationCenter;
void *__objc_class_name_OFNull;
void *__objc_class_name_OFNumber;
void *__objc_class_name_OFObject;
void *__objc_class_name_OFOptionsParser;
void *__objc_class_name_OFPair;
void *__objc_class_name_OFRIPEMD160Hash;







|







103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
void *__objc_class_name_OFMutablePair;
void *__objc_class_name_OFMutableSet;
void *__objc_class_name_OFMutableString;
void *__objc_class_name_OFMutableTarArchiveEntry;
void *__objc_class_name_OFMutableTriple;
void *__objc_class_name_OFMutableURI;
void *__objc_class_name_OFMutableZIPArchiveEntry;
void *__objc_class_name_OFNotification;
void *__objc_class_name_OFNotificationCenter;
void *__objc_class_name_OFNull;
void *__objc_class_name_OFNumber;
void *__objc_class_name_OFObject;
void *__objc_class_name_OFOptionsParser;
void *__objc_class_name_OFPair;
void *__objc_class_name_OFRIPEMD160Hash;
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
{
	static bool initialized = false;
	struct OFLibC libC = {
		.malloc = malloc,
		.calloc = calloc,
		.realloc = realloc,
		.free = free,
		.vfprintf = vfprintf,
		.fflush = fflush,
		.abort = abort,
#ifdef HAVE_SJLJ_EXCEPTIONS
		._Unwind_SjLj_RaiseException = _Unwind_SjLj_RaiseException,
#else
		._Unwind_RaiseException = _Unwind_RaiseException,
#endif
		._Unwind_DeleteException = _Unwind_DeleteException,







<
<







306
307
308
309
310
311
312


313
314
315
316
317
318
319
{
	static bool initialized = false;
	struct OFLibC libC = {
		.malloc = malloc,
		.calloc = calloc,
		.realloc = realloc,
		.free = free,


		.abort = abort,
#ifdef HAVE_SJLJ_EXCEPTIONS
		._Unwind_SjLj_RaiseException = _Unwind_SjLj_RaiseException,
#else
		._Unwind_RaiseException = _Unwind_RaiseException,
#endif
		._Unwind_DeleteException = _Unwind_DeleteException,
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
}
#endif

extern void OFPBKDF2Wrapper(const OFPBKDF2Parameters *parameters);
extern void OFScryptWrapper(const OFScryptParameters *parameters);

void
OFPBKDF2(OFPBKDF2Parameters *parameters)
{
	OFPBKDF2Wrapper(&parameters);
}

void
OFScrypt(OFScryptParameters *parameters)
{
	OFScryptWrapper(&parameters);
}







|





|



397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
}
#endif

extern void OFPBKDF2Wrapper(const OFPBKDF2Parameters *parameters);
extern void OFScryptWrapper(const OFScryptParameters *parameters);

void
OFPBKDF2(OFPBKDF2Parameters parameters)
{
	OFPBKDF2Wrapper(&parameters);
}

void
OFScrypt(OFScryptParameters parameters)
{
	OFScryptWrapper(&parameters);
}