Variable

GObject-2.0GObjectVALUE_NOCOPY_CONTENTSConst

VALUE_NOCOPY_CONTENTS: number

Flag to indicate that allocated data in a GObject.Value shouldn’t be copied.

If passed to GObject.VALUE_COLLECT, allocated data won’t be copied but used verbatim. This does not affect ref-counted types like objects.

This does not affect usage of GObject.Value.copy: the data will be copied if it is not ref-counted.

This flag should be checked by implementations of GObject.TypeValueFreeFunc, GObject.TypeValueCollectFunc and GObject.TypeValueLCopyFunc.