mirror of
https://github.com/darlinghq/darling-libxpc.git
synced 2024-11-26 21:20:28 +00:00
Add one internal Apple function
This commit is contained in:
parent
c70dc7d15a
commit
2d27e0d52a
16
xpc/private.h
Normal file
16
xpc/private.h
Normal file
@ -0,0 +1,16 @@
|
||||
#ifndef XPC_PRIVATE_H_
|
||||
#define XPC_PRIVATE_H_
|
||||
#include <xpc/xpc.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
int _xpc_runtime_is_app_sandboxed();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
7
xpc_private.c
Normal file
7
xpc_private.c
Normal file
@ -0,0 +1,7 @@
|
||||
#include <xpc/private.h>
|
||||
|
||||
int _xpc_runtime_is_app_sandboxed()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user