]> git.saurik.com Git - apple/libdispatch.git/blobdiff - src/private.h
libdispatch-187.5.tar.gz
[apple/libdispatch.git] / src / private.h
diff --git a/src/private.h b/src/private.h
deleted file mode 100644 (file)
index 8d817fe..0000000
+++ /dev/null
@@ -1,114 +0,0 @@
-/*
- * Copyright (c) 2008-2009 Apple Inc. All rights reserved.
- *
- * @APPLE_APACHE_LICENSE_HEADER_START@
- * 
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * 
- *     http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * 
- * @APPLE_APACHE_LICENSE_HEADER_END@
- */
-
-/*
- * IMPORTANT: This header file describes INTERNAL interfaces to libdispatch
- * which are subject to change in future releases of Mac OS X. Any applications
- * relying on these interfaces WILL break.
- */
-
-#ifndef __DISPATCH_PRIVATE__
-#define __DISPATCH_PRIVATE__
-
-#include <mach/boolean.h>
-#include <mach/mach.h>
-#include <mach/message.h>
-#include <unistd.h>
-#include <sys/cdefs.h>
-#include <sys/event.h>
-#include <pthread.h>
-
-#ifndef __DISPATCH_BUILDING_DISPATCH__
-#include_next <dispatch/dispatch.h>
-
-// Workaround <rdar://problem/6597365/>
-#ifndef __DISPATCH_PUBLIC__
-#include "/usr/include/dispatch/dispatch.h"
-#endif
-
-#ifndef __DISPATCH_INDIRECT__
-#define __DISPATCH_INDIRECT__
-#endif
-
-#include <dispatch/benchmark.h>
-#include <dispatch/queue_private.h>
-#include <dispatch/source_private.h>
-
-#ifndef DISPATCH_NO_LEGACY
-#include <dispatch/legacy.h>
-#endif
-
-#undef __DISPATCH_INDIRECT__
-
-#endif /* !__DISPATCH_BUILDING_DISPATCH__ */
-
-/* LEGACY: Use DISPATCH_API_VERSION */
-#define LIBDISPATCH_VERSION DISPATCH_API_VERSION
-
-__BEGIN_DECLS
-
-DISPATCH_NOTHROW
-void
-libdispatch_init(void);
-
-#define DISPATCH_COCOA_COMPAT 1
-#if DISPATCH_COCOA_COMPAT
-
-__OSX_AVAILABLE_STARTING(__MAC_10_6,__IPHONE_NA)
-DISPATCH_NOTHROW
-mach_port_t
-_dispatch_get_main_queue_port_4CF(void);
-
-__OSX_AVAILABLE_STARTING(__MAC_10_6,__IPHONE_NA)
-DISPATCH_NOTHROW
-void
-_dispatch_main_queue_callback_4CF(mach_msg_header_t *msg);
-
-__OSX_AVAILABLE_STARTING(__MAC_10_6,__IPHONE_NA)
-extern void (*dispatch_begin_thread_4GC)(void);
-
-__OSX_AVAILABLE_STARTING(__MAC_10_6,__IPHONE_NA)
-extern void (*dispatch_end_thread_4GC)(void);
-
-__OSX_AVAILABLE_STARTING(__MAC_10_6,__IPHONE_NA)
-extern void *(*_dispatch_begin_NSAutoReleasePool)(void);
-
-__OSX_AVAILABLE_STARTING(__MAC_10_6,__IPHONE_NA)
-extern void (*_dispatch_end_NSAutoReleasePool)(void *);
-
-#endif
-
-/* pthreads magic */
-
-DISPATCH_NOTHROW void dispatch_atfork_prepare(void);
-DISPATCH_NOTHROW void dispatch_atfork_parent(void);
-DISPATCH_NOTHROW void dispatch_atfork_child(void);
-DISPATCH_NOTHROW void dispatch_init_pthread(pthread_t);
-
-/*
- * Extract the context pointer from a mach message trailer.
- */
-__OSX_AVAILABLE_STARTING(__MAC_10_6,__IPHONE_NA)
-void *
-dispatch_mach_msg_get_context(mach_msg_header_t *msg);
-
-__END_DECLS
-
-#endif