-
-
Notifications
You must be signed in to change notification settings - Fork 76
Expand file tree
/
Copy pathvirtualization_13_arm64.h
More file actions
29 lines (20 loc) · 758 Bytes
/
virtualization_13_arm64.h
File metadata and controls
29 lines (20 loc) · 758 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
//
// virtualization_13_arm64.h
//
// Created by codehex.
//
#pragma once
#ifdef __arm64__
// FIXME(codehex): this is dirty hack to avoid clang-format error like below
// "Configuration file(s) do(es) not support C++: /github.com/Code-Hex/vz/.clang-format"
#define NSURLComponents NSURLComponents
#import "virtualization_helper.h"
#import <Virtualization/Virtualization.h>
/* exported from cgo */
void linuxInstallRosettaWithCompletionHandler(uintptr_t cgoHandle, void *errPtr);
void *newVZLinuxRosettaDirectoryShare(void **error);
void linuxInstallRosetta(uintptr_t cgoHandle);
int availabilityVZLinuxRosettaDirectoryShare();
void *newVZMacOSVirtualMachineStartOptions(bool startUpFromMacOSRecovery);
void *newVZMacTrackpadConfiguration();
#endif