Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Callbacks ¶
type Callbacks struct {
// contains filtered or unexported fields
}
Callbacks provides a tracker for data that is to be passed between Go and C callback functions. The Go callback/object may not be passed by a pointer to C code and so instead integer IDs into an internal map are used. Typically the item being added will either be a callback function or a data structure containing a callback function. It is up to the caller to control and validate what "callbacks" get used.
Click to show internal directories.
Click to hide internal directories.