XDispatch 0.6.1
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 
00024 #ifdef __APPLE__
00025 #include <Availability.h>
00026 #include <TargetConditionals.h>
00027 #endif
00028 
00029 #ifndef __DISPATCH_BEGIN_DECLS
00030 #if defined(__cplusplus)
00031 #  define __DISPATCH_BEGIN_DECLS   extern "C" {
00032 #  define __DISPATCH_END_DECLS     }
00033 # else
00034 #  define __DISPATCH_BEGIN_DECLS
00035 #  define __DISPATCH_END_DECLS
00036 # endif
00037 #endif
00038 
00039 #include <stddef.h>
00040 #if defined(_WIN32) && _MSC_VER < 1600
00041 # include "../../core/platform/windows/stdint.h"
00042 #else
00043 # include <stdint.h>
00044 #endif
00045 #ifndef _WIN32
00046 # include <stdbool.h>
00047 #endif
00048 
00049 #define DISPATCH_API_VERSION 20090501
00050 
00051 #ifndef __DISPATCH_INDIRECT__
00052 #define __DISPATCH_INDIRECT__
00053 #endif
00054 
00055 #include "base.h"
00056 #include "object.h"
00057 #include "time.h"
00058 #include "queue.h"
00059 #include "source.h"
00060 #include "group.h"
00061 #include "semaphore.h"
00062 #include "once.h"
00063 
00064 #undef __DISPATCH_INDIRECT__
00065 
00066 
00067 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Thu Apr 12 2012 09:50:43 for XDispatch by Doxygen 1.7.4
© 2010-2012 MLBA (about | privacy) All Rights reserved.