libXDispatch 0.4
include/libdispatch/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 #include <stdint.h>
00041 #ifndef _WIN32
00042 #    include <stdbool.h>
00043 #endif
00044 
00045 #define DISPATCH_API_VERSION 20090501
00046 
00047 #ifndef __DISPATCH_INDIRECT__
00048 #define __DISPATCH_INDIRECT__
00049 #endif
00050 
00051 #include "base.h"
00052 #include "object.h"
00053 #include "time.h"
00054 #include "queue.h"
00055 #include "source.h"
00056 #include "group.h"
00057 #include "semaphore.h"
00058 #include "once.h"
00059 
00060 #undef __DISPATCH_INDIRECT__
00061 
00062 
00063 #endif

Generated on Wed Feb 22 2012 19:51:17 for libXDispatch by Doxygen 1.7.4
Content © 2011-2012 MLBA (about | privacy) – Design © 2010-2012 Emzeat. All Rights reserved.