-
-
Notifications
You must be signed in to change notification settings - Fork 162
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
macos: minor fixes and missing types
- Loading branch information
Showing
7 changed files
with
32 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
package corefoundation | ||
|
||
type NotificationName StringRef | ||
type TypeRef uintptr |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,13 @@ | ||
package coregraphics | ||
|
||
// An affine transformation matrix for use in drawing 2D graphics. [Full Topic] | ||
// | ||
// [Full Topic]: https://developer.apple.com/documentation/corefoundation/cgaffinetransform?language=objc | ||
type AffineTransform struct { | ||
M11 float64 | ||
M12 float64 | ||
M21 float64 | ||
M22 float64 | ||
TX float64 | ||
TY float64 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package coremedia | ||
|
||
import "github.com/progrium/macdriver/macos/corefoundation" | ||
|
||
type BufferRef corefoundation.TypeRef | ||
type MetadataFormatDescriptionRef FormatDescriptionRef | ||
type VideoFormatDescriptionRef FormatDescriptionRef | ||
type AudioFormatDescriptionRef FormatDescriptionRef |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
package corevideo | ||
|
||
type PixelBufferRef ImageBufferRef | ||
type ImageBufferRef BufferRef |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1 @@ | ||
package sysconfig | ||
|
||
import "unsafe" | ||
|
||
type PreferencesRef unsafe.Pointer | ||
type EtworkConnectionRef unsafe.Pointer | ||
type EtworkReachabilityRef unsafe.Pointer | ||
type DynamicStoreRef unsafe.Pointer |