Package: cairo

Function cairo-device-reference

Lambda List

cairo-device-reference (device)

Arguments

device -- a cairo-device-t instance

Return Value

The referenced cairo-device-t instance.

Details

Increases the reference count on device by one. This prevents device from being destroyed until a matching call to the function cairo-device-destroy is made.

The number of references to a cairo-device-t instance can be get using the function cairo-device-get-reference-count.
 

See also

2020-12-16