Samond Classes Library 1.2.6-STABLE build 219
SCConstants.h
Go to the documentation of this file.
1 //
2 // SCConstants.h
3 // scl
4 //
5 // Created by Viacheslav Smolensky on 20.10.10.
6 // Copyright (c) 2007 - 2018 by Samond Development Corporation. All rights reserved.
7 //
8 
22 #import <Foundation/Foundation.h>
24 
25 #pragma mark -
26 #pragma mark Library Constants
27 
36 #define SC_NULL_OBJECT @"__NULL_OBJECT__"
37 
38 #pragma mark -
39 #pragma mark Макросы
40 
49 #define SCLS( string) NSLocalizedString( string, nil)
50 
55 #define __abstract__( name) { @throw [SCAbstractMethodException exceptionWithMethod:name]; }
56 
57 
58 #pragma mark -
59 #pragma mark Architecture Defines
60 
61 #if defined(__i386__) && !defined(SCL_I386)
62 #define SCL_I386
63 #endif
64 
65 #if defined(__x86_64__) && !defined(SCL_X86_64)
66 #define SCL_X86_64
67 #endif
68 
69 #if defined(__aarch64__) && !defined(SCL_ARM_64)
70 #define SCL_ARM_64
71 #endif
72 
73 #if defined(__arm64__) && !defined(SCL_ARM_64)
74 #define SCL_ARM_64
75 #endif
76 
77 #if defined(__arm__) && !defined(SCL_ARM_32)
78 #define SCL_ARM_32
79 #endif
Exception SCAbstractMethodException header file.