AllocationParams

Parameters to control the allocation of memory

Constructors

this
this(void* ptr, Flag!"Take" take)
this
this()

Create a new #GstAllocationParams on the heap. This function is for use in GStreamer language bindings. In your own code, you can just declare a #GstAllocationParams on the stack or in a struct, and call gst.allocation_params.AllocationParams.init_ to initialize it.

Members

Functions

cPtr
void* cPtr(Flag!"Dup" dup)
copy
gst.allocation_params.AllocationParams copy()

Create a copy of params.

init_
void init_()

Initialize params to its default values

self
AllocationParams self()

Returns this, for use in with statements.

Properties

align_
size_t align_ [@property getter]

Get field align_.

align_
size_t align_ [@property setter]

Set field align_.

flags
gst.types.MemoryFlags flags [@property getter]

Get field flags.

flags
gst.types.MemoryFlags flags [@property setter]

Set field flags.

gType
GType gType [@property getter]
padding
size_t padding [@property getter]

Get field padding.

padding
size_t padding [@property setter]

Set field padding.

prefix
size_t prefix [@property getter]

Get field prefix.

prefix
size_t prefix [@property setter]

Set field prefix.

Static functions

getGType
GType getGType()

Inherited Members

From Boxed

cInstancePtr
void* cInstancePtr;

Pointer to the C boxed value

getType
GType getType()

Get the GType of this boxed type.

gType
GType gType [@property getter]

Boxed GType property.

self
Boxed self()

Convenience method to return this cast to a type. For use in D with statements.

copy_
void* copy_()

Make a copy of the wrapped C boxed data.

boxedCopy
void* boxedCopy(void* cBoxed)

Copy a C boxed value using g_boxed_copy.

boxedFree
void boxedFree(void* cBoxed)

Free a C boxed value using g_boxed_free.