Method

MksScreenAttributescopy

Declaration [src]

MksScreenAttributes*
mks_screen_attributes_copy (
  MksScreenAttributes* self
)

Description [src]

Makes a deep copy of a MksScreenAttributes.

Parameters

self

Type: MksScreenAttributes

A MksScreenAttributes.

The argument can be NULL.

Return value

Type: MksScreenAttributes

A newly created MksScreenAttributes with the same contents as self. If self is NULL, NULL is returned.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.