gputoolsdiagnostics

package
v0.6.21 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2026 License: MIT Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package gputoolsdiagnostics provides Go bindings for the gputoolsdiagnostics framework.

Key Types

Code generated from Apple documentation. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BindFunc

func BindFunc(fptr any, name string) (err error)

BindFunc binds the gputoolsdiagnostics symbol name into fptr, which must be a pointer to a func variable.

The caller supplies the signature, and nothing checks it. A dylib records no argument count or types for a C symbol, so a wrong signature here is not a type error: it is the wrong number of machine words moved on a live stack, and the failure surfaces somewhere else entirely. Prefer a generated binding, whose signature carries recorded evidence, and reach for this only for a symbol that has none. purego.RegisterFunc panics on a signature it cannot lower; that is recovered and returned, because an escape hatch that takes down the process on a mistyped experiment is not one anybody can experiment with.

func SymbolAddress

func SymbolAddress(name string) (uintptr, error)

SymbolAddress returns the address of name in gputoolsdiagnostics, whether or not this package generated a binding for it.

What is generated is bounded by what is documented, and for a private framework that is whatever a manifest happened to enumerate. The dylib usually exports far more. Without this, a symbol nobody wrote down is unreachable from a package that has already loaded the image holding it, and the generated surface becomes a ceiling instead of a floor.

The lookup is scoped to this framework's handle, not RTLD_DEFAULT, so a symbol some other loaded image exports is not reported as this one's.

Types

type GTSwizzleMTLTrackerLibraryWrapper

type GTSwizzleMTLTrackerLibraryWrapper struct {
	objectivec.Object
}

Methods

func GTSwizzleMTLTrackerLibraryWrapperFromID

func GTSwizzleMTLTrackerLibraryWrapperFromID(id objc.ID) GTSwizzleMTLTrackerLibraryWrapper

GTSwizzleMTLTrackerLibraryWrapperFromID constructs a GTSwizzleMTLTrackerLibraryWrapper from an objc.ID.

func NewGTSwizzleMTLTrackerLibraryWrapper

func NewGTSwizzleMTLTrackerLibraryWrapper() GTSwizzleMTLTrackerLibraryWrapper

NewGTSwizzleMTLTrackerLibraryWrapper creates a new GTSwizzleMTLTrackerLibraryWrapper instance.

func NewGTSwizzleMTLTrackerLibraryWrapperWithLibrary

func NewGTSwizzleMTLTrackerLibraryWrapperWithLibrary(library Library) GTSwizzleMTLTrackerLibraryWrapper

func (GTSwizzleMTLTrackerLibraryWrapper) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (GTSwizzleMTLTrackerLibraryWrapper) Init

Init initializes the instance.

func (GTSwizzleMTLTrackerLibraryWrapper) InitWithLibrary

func (GTSwizzleMTLTrackerLibraryWrapper) Library

func (GTSwizzleMTLTrackerLibraryWrapper) SetLibrary

func (g GTSwizzleMTLTrackerLibraryWrapper) SetLibrary(value Library)

type GTSwizzleMTLTrackerLibraryWrapperClass

type GTSwizzleMTLTrackerLibraryWrapperClass struct {
	// contains filtered or unexported fields
}

func GetGTSwizzleMTLTrackerLibraryWrapperClass

func GetGTSwizzleMTLTrackerLibraryWrapperClass() GTSwizzleMTLTrackerLibraryWrapperClass

GetGTSwizzleMTLTrackerLibraryWrapperClass returns the class object for GTSwizzleMTLTrackerLibraryWrapper.

func (GTSwizzleMTLTrackerLibraryWrapperClass) Alloc

Alloc allocates memory for a new instance of the class.

func (GTSwizzleMTLTrackerLibraryWrapperClass) Class

Class returns the underlying Objective-C class pointer.

func (GTSwizzleMTLTrackerLibraryWrapperClass) LibraryWrapperWithLibrary

func (_GTSwizzleMTLTrackerLibraryWrapperClass GTSwizzleMTLTrackerLibraryWrapperClass) LibraryWrapperWithLibrary(library Library) objectivec.IObject

type Library

type Library struct {
	Field1 objectivec.Object
	Field2 objectivec.Object
	Field3 objectivec.Object
	Field4 bool
	Field5 [7]int8
}

Library

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL