mirror of https://github.com/oxen-io/session-ios
				
				
				
			
			You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
	
	
		
			18 lines
		
	
	
		
			500 B
		
	
	
	
		
			Matlab
		
	
		
		
			
		
	
	
			18 lines
		
	
	
		
			500 B
		
	
	
	
		
			Matlab
		
	
| 
								 
											5 years ago
										 
									 | 
							
								//
							 | 
						||
| 
								 | 
							
								//  Copyright (c) 2018 Open Whisper Systems. All rights reserved.
							 | 
						||
| 
								 | 
							
								//
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								#import "OWSAsserts.h"
							 | 
						||
| 
								 | 
							
								#import <SessionProtocolKit/SessionProtocolKit-Swift.h>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								NS_ASSUME_NONNULL_BEGIN
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								void SwiftExit(NSString *message, const char *file, const char *function, int line)
							 | 
						||
| 
								 | 
							
								{
							 | 
						||
| 
								 | 
							
								    NSString *_file = [NSString stringWithFormat:@"%s", file];
							 | 
						||
| 
								 | 
							
								    NSString *_function = [NSString stringWithFormat:@"%s", function];
							 | 
						||
| 
								 | 
							
								    [OWSSwiftUtils owsFail:message file:_file function:_function line:line];
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								NS_ASSUME_NONNULL_END
							 |