Skip to content

Commit 6407548

Browse files
committed
macos: regenerate
1 parent 8fe2080 commit 6407548

File tree

347 files changed

+11358
-17095
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

347 files changed

+11358
-17095
lines changed

generate/function.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ func (db *Generator) ToFunction(fw string, sym Symbol) *codegen.Function {
7777
"MTLSizeMake": true, // duplicate symbol issue
7878
}
7979
if knownIssues[sym.Name] {
80-
_, err := sym.Parse()
80+
_, err := sym.Parse("macos") // TODO(tmc): think about this
8181
log.Printf("skipping function %s %s because of known issue: decl='%s' err='%v'\n", fw, sym.Name, sym.Declaration, err)
8282
return nil
8383
}

generate/modules/modules.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,8 @@ var All = []Module{
155155
{"IOSurface", "IOSurface", "iosurface", "IOSurface/IOSurface.h", []string{"IOSurface", "kIOSurface"}},
156156
{"Metal", "Metal", "metal", "Metal/Metal.h", []string{"MTL"}},
157157
{"MetalKit", "Metal Kit", "metalkit", "MetalKit/MetalKit.h", []string{"MTK"}},
158+
{"MetalPerformanceShaders", "Metal Performance Shaders", "mps", "MetalPerformanceShaders/MetalPerformanceShaders.h", []string{"MPS"}},
159+
{"MetalPerformanceShadersGraph", "Metal Performance Shaders Graph", "mpsgraph", "MetalPerformanceShadersGraph/MetalPerformanceShadersGraph.h", []string{"MPSGraph"}},
158160
{"SystemConfiguration", "System Configuration", "sysconfig", "SystemConfiguration/SystemConfiguration.h", []string{"SC", "kSC"}},
159161
{"MediaPlayer", "Media Player", "mediaplayer", "MediaPlayer/MediaPlayer.h", []string{"MP"}},
160162
}

generate/struct.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
func (db *Generator) ToStruct(fw string, sym Symbol) *codegen.Struct {
1111
knownIssues := map[string]bool{}
1212
if knownIssues[sym.Name] {
13-
_, err := sym.Parse()
13+
_, err := sym.Parse("macos") // TODO(tmc): think about this
1414
log.Printf("skipping struct %s %s because of known issue: decl='%s' err='%v'\n", fw, sym.Name, sym.Declaration, err)
1515
return nil
1616
}

generate/types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ func (db *Generator) TypeFromSymbol(sym Symbol) typing.Type {
114114
Module: modules.Get(module),
115115
}
116116
case "Function":
117-
typ, err := sym.Parse()
117+
typ, err := sym.Parse("tmc") // TODO(tmc): consider this
118118
if err != nil {
119119
fmt.Printf("TypeFromSymbol: failed to parse %s: %s\n", sym.Declaration, err)
120120
return nil

macos/metal/acceleration_structure_bounding_box_geometry_descriptor.gen.go

Lines changed: 17 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)