-
-
Notifications
You must be signed in to change notification settings - Fork 28
/
header_string.go
37 lines (31 loc) · 1.09 KB
/
header_string.go
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
30
31
32
33
34
35
36
37
// Code generated by "stringer -type=HeaderFileType -trimprefix=MH_ -output header_string.go"; DO NOT EDIT.
package types
import "strconv"
func _() {
// An "invalid array index" compiler error signifies that the constant values have changed.
// Re-run the stringer command to generate them again.
var x [1]struct{}
_ = x[MH_OBJECT-1]
_ = x[MH_EXECUTE-2]
_ = x[MH_FVMLIB-3]
_ = x[MH_CORE-4]
_ = x[MH_PRELOAD-5]
_ = x[MH_DYLIB-6]
_ = x[MH_DYLINKER-7]
_ = x[MH_BUNDLE-8]
_ = x[MH_DYLIB_STUB-9]
_ = x[MH_DSYM-10]
_ = x[MH_KEXT_BUNDLE-11]
_ = x[MH_FILESET-12]
_ = x[MH_GPU_EXECUTE-13]
_ = x[MH_GPU_DYLIB-14]
}
const _HeaderFileType_name = "OBJECTEXECUTEFVMLIBCOREPRELOADDYLIBDYLINKERBUNDLEDYLIB_STUBDSYMKEXT_BUNDLEFILESETGPU_EXECUTEGPU_DYLIB"
var _HeaderFileType_index = [...]uint8{0, 6, 13, 19, 23, 30, 35, 43, 49, 59, 63, 74, 81, 92, 101}
func (i HeaderFileType) String() string {
i -= 1
if i >= HeaderFileType(len(_HeaderFileType_index)-1) {
return "HeaderFileType(" + strconv.FormatInt(int64(i+1), 10) + ")"
}
return _HeaderFileType_name[_HeaderFileType_index[i]:_HeaderFileType_index[i+1]]
}