macrotools.h

Go to the documentation of this file.
00001 //-----------------------------------------------------------------------------
00002 //
00003 // Project     : base
00004 // Filename    : macrotools.h
00005 // Created by  : Matthias Muchaier, 09.2006
00006 // Description : Tools for C Preprocessor
00007 //
00008 //-----------------------------------------------------------------------------
00009 // LICENSE
00010 // © 2007, Steinberg Media Technologies GmbH, All Rights Reserved
00011 //-----------------------------------------------------------------------------
00012 // This Software Development Kit may not be distributed in parts or its entirety  
00013 // without prior written agreement by Steinberg Media Technologies GmbH. 
00014 // This SDK must not be used to re-engineer or manipulate any technology used  
00015 // in any Steinberg or Third-party application or software module, 
00016 // unless permitted by law. It may only be used for development of products 
00017 // defined in the license agreement between Steinberg and Licensee or for internal, 
00018 // not publicly released products of Licensee.
00019 //-----------------------------------------------------------------------------
00020 // ***********************************************************************
00021 // **** STEINBERG CONFIDENTIAL! THIS IS NOT A PUBLIC PLUG-IN SDK FILE! ***
00022 // ***********************************************************************
00023 
00024 #ifndef __macrotools__
00025 #define __macrotools__
00026 
00030 #define SMTG_CAT_PRIVATE_DONT_USE(a,b)                  a ## b
00031 
00034 #define SMTG_MAKE_STRING_PRIVATE_DONT_USE(x)    # x
00035 
00046 #define SMTG_CAT(a,b)                   SMTG_CAT_PRIVATE_DONT_USE(a,b)
00047 
00056 #define SMTG_MAKE_STRING(x)             SMTG_MAKE_STRING_PRIVATE_DONT_USE(x)
00057 
00058 #endif
Empty

Copyright ©2008 Steinberg Media Technologies. All Rights Reserved.