Some "safe" languages like Swift and Go offer "unsafe" pointers for use with APIs written in languages like C and Objective-C. Questions using this tag should also have the relevant language tag, e.g. [swift] or [go].
Is there a way to cast a Swift struct's address to a void UnsafeMutablePointer? I tried this without success: struct …
swift casting void-pointers unsafe-pointersI'm calling a function in an objective c class from swift. -(char *)decrypt:(char *)crypt el:(int)el{} when …
ios objective-c swift unsafe-pointers