gcc:
[official-gcc.git] / fixincludes / tests / base / os / trace.h
blobfdbf1a809fe1ebe156c703d8aecba5d9d521da1a
1 /* DO NOT EDIT THIS FILE.
3 It has been auto-edited by fixincludes from:
5 "fixinc/tests/inc/os/trace.h"
7 This had to be done to correct non-standard usages in the
8 original, manufacturer supplied header file. */
12 #if defined( DARWIN_OS_TRACE_1_CHECK )
13 _os_trace_verify_printf(const char *msg, ...)
14 #endif /* DARWIN_OS_TRACE_1_CHECK */
17 #if defined( DARWIN_OS_TRACE_2_CHECK )
18 #if __BLOCKS__
19 typedef void (^os_trace_payload_t)(xpc_object_t xdict);
20 #endif
21 #endif /* DARWIN_OS_TRACE_2_CHECK */
24 #if defined( DARWIN_OS_TRACE_3_CHECK )
25 #if __BLOCKS__
26 __API_AVAILABLE(macosx(10.10), ios(8.0), watchos(2.0), tvos(8.0))
27 OS_EXPORT OS_NOTHROW OS_NOT_TAIL_CALLED
28 void
29 _os_trace_with_buffer(void *dso, const char *message, uint8_t type, const void *buffer, size_t buffer_size, os_trace_payload_t payload);
30 #endif
32 #if __BLOCKS__
33 __OSX_AVAILABLE_STARTING(__MAC_10_12, __IPHONE_10_0)
34 OS_EXPORT OS_NOTHROW
35 void
36 _os_trace_internal(void *dso, uint8_t type, const char *format, const uint8_t *buf, size_t buf_size, os_trace_payload_t payload);
37 #endif
38 #endif /* DARWIN_OS_TRACE_3_CHECK */