Sha256: 074019c583287cee71c6bdb849ca45ac0409650927baae0633283a0711114ac7

Contents?: true

Size: 709 Bytes

Versions: 5

Compression:

Stored size: 709 Bytes

Contents

//
//  Platform.h
//  snowcrash
//
//  Created by Zdenek Nemec on 7/2/13.
//  Copyright (c) 2013 Apiary Inc. All rights reserved.
//

#ifndef SNOWCRASH_PLATFORM_H
#define SNOWCRASH_PLATFORM_H

#define AS_TYPE(Type, Obj) reinterpret_cast<Type *>(Obj)
#define AS_CTYPE(Type, Obj) reinterpret_cast<const Type *>(Obj)

#if defined(BUILDING_SNOWCRASH)
#   define DEPRECATED
#endif

#if defined(_MSC_VER)
#   if !defined(DEPRECATED)
#       define DEPRECATED __declspec(deprecated)
#   endif
#elif defined(__clang__) || defined(__GNUC__)
#   if !defined(DEPRECATED)
#       define DEPRECATED __attribute__((deprecated))
#   endif
#else
#   if !defined(DEPRECATED)
#       define DEPRECATED
#   endif
#endif

#endif

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
lounge_lizard-0.1.4 ext/drafter/ext/snowcrash/src/Platform.h
lounge_lizard-0.1.3 ext/drafter/ext/snowcrash/src/Platform.h
lounge_lizard-0.1.2 ext/drafter/ext/snowcrash/src/Platform.h
lounge_lizard-0.1.1 ext/drafter/ext/snowcrash/src/Platform.h
lounge_lizard-0.1.0 ext/drafter/ext/snowcrash/src/Platform.h