[ CCode ( has_construct_function = false ) ]
public Parasite (string name, uint32 flags, char[]? data)
Creates a new parasite and save data which may be a proper text (in which case you may want to set data.length
as strlen(data) + 1) or not.
| name |
the new Parasite name. |
| flags |
see [const@Gimp.PARASITE_PERSISTENT] and [const@Gimp.PARASITE_UNDOABLE]; other values are mainly intended for internal use. |
| data |
the data to save in a parasite. |
| size |
the size of |
|
a new Parasite. |