XDispatch 0.7.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
dispatch.h
Go to the documentation of this file.
00001 /*
00002  * Copyright (c) 2008-2009 Apple Inc. All rights reserved.
00003  *
00004  * @APPLE_APACHE_LICENSE_HEADER_START@
00005  * 
00006  * Licensed under the Apache License, Version 2.0 (the "License");
00007  * you may not use this file except in compliance with the License.
00008  * You may obtain a copy of the License at
00009  * 
00010  *     http://www.apache.org/licenses/LICENSE-2.0
00011  * 
00012  * Unless required by applicable law or agreed to in writing, software
00013  * distributed under the License is distributed on an "AS IS" BASIS,
00014  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00015  * See the License for the specific language governing permissions and
00016  * limitations under the License.
00017  * 
00018  * @APPLE_APACHE_LICENSE_HEADER_END@
00019  */
00020 
00021 #ifndef __DISPATCH_PUBLIC__
00022 #define __DISPATCH_PUBLIC__
00023 
00029 #ifdef __APPLE__
00030 #include <Availability.h>
00031 #include <TargetConditionals.h>
00032 #endif
00033 
00034 #ifndef __DISPATCH_BEGIN_DECLS
00035 #if defined(__cplusplus)
00036 #  define __DISPATCH_BEGIN_DECLS   extern "C" {
00037 #  define __DISPATCH_END_DECLS     }
00038 # else
00039 #  define __DISPATCH_BEGIN_DECLS
00040 #  define __DISPATCH_END_DECLS
00041 # endif
00042 #endif
00043 
00044 #ifndef __DISPATCH_BUILD_FEATURE
00045 #  define __DISPATCH_BUILD_FEATURE(X) X
00046 #endif
00047 
00048 #include <stddef.h>
00049 #if !defined(__GNUC__) && defined(_WIN32) && _MSC_VER < 1600
00050 # include "../../core/platform/windows/stdint.h"
00051 #else
00052 # include <stdint.h>
00053 #endif
00054 #ifndef _WIN32
00055 # include <stdbool.h>
00056 #endif
00057 
00058 #define DISPATCH_API_VERSION 20090501+071
00059 
00060 #ifndef __DISPATCH_INDIRECT__
00061 #define __DISPATCH_INDIRECT__
00062 #endif
00063 
00064 #include "base.h"
00065 #include "object.h"
00066 #include "time.h"
00067 #include "queue.h"
00068 #include "source.h"
00069 #include "group.h"
00070 #include "semaphore.h"
00071 #include "once.h"
00072 
00073 #undef __DISPATCH_INDIRECT__
00074 
00077 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Sun Oct 28 2012 22:12:47 for XDispatch by Doxygen 1.7.6.1
© 2010-2012 MLBA (about | privacy) All Rights reserved.