-
-
Notifications
You must be signed in to change notification settings - Fork 52
/
virtualization_14_arm64.h
26 lines (22 loc) · 1.12 KB
/
virtualization_14_arm64.h
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
//
// virtualization_14_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>
void saveMachineStateToURLWithCompletionHandler(void *machine, void *queue, uintptr_t cgoHandle, const char *saveFilePath);
void restoreMachineStateFromURLWithCompletionHandler(void *machine, void *queue, uintptr_t cgoHandle, const char *saveFilePath);
void *newVZLinuxRosettaAbstractSocketCachingOptionsWithName(const char *name, void **error);
void *newVZLinuxRosettaUnixSocketCachingOptionsWithPath(const char *path, void **error);
uint32_t maximumPathLengthVZLinuxRosettaUnixSocketCachingOptions();
uint32_t maximumNameLengthVZLinuxRosettaAbstractSocketCachingOptions();
void setOptionsVZLinuxRosettaDirectoryShare(void *rosetta, void *cachingOptions);
void *newVZMacKeyboardConfiguration();
bool validateSaveRestoreSupportWithError(void *config, void **error);
#endif