fbshipit-source-id: b6fc29740c6875d2e78953b8a7123890a67930f2 Co-authored-by: Sebastian McKenzie <sebmck@fb.com> Co-authored-by: John Knox <jknox@fb.com> Co-authored-by: Emil Sjölander <emilsj@fb.com> Co-authored-by: Pritesh Nandgaonkar <prit91@fb.com>
28 lines
578 B
Objective-C
28 lines
578 B
Objective-C
/*
|
|
* Copyright (c) 2004-present, Facebook, Inc.
|
|
*
|
|
* This source code is licensed under the MIT license found in the LICENSE
|
|
* file in the root directory of this source tree.
|
|
*
|
|
*/
|
|
|
|
#ifndef SKMACROS_H
|
|
#define SKMACROS_H
|
|
|
|
#import <FBDefines/FBMacros.h>
|
|
|
|
#ifdef __cplusplus
|
|
# define SK_EXTERN_C_BEGIN extern "C" {
|
|
# define SK_EXTERN_C_END }
|
|
# define SK_EXTERN_C extern "C"
|
|
#else
|
|
# define SK_EXTERN_C_BEGIN
|
|
# define SK_EXTERN_C_END
|
|
# define SK_EXTERN_C extern
|
|
#endif
|
|
|
|
#define SKLog(...) NSLog(__VA_ARGS__)
|
|
#define SKTrace(...) /*NSLog(__VA_ARGS__)*/
|
|
|
|
#endif
|