MemoryMapFunction


Description:

[ CCode ( has_target = false ) ]
public delegate void* MemoryMapFunction (Memory mem, size_t maxsize, MapFlags flags)

Get the memory of mem that can be accessed according to the mode specified in flags.

The function should return a pointer that contains at least maxsize bytes.

Parameters:

mem

a Memory

maxsize

size to map

flags

access mode for the memory

Returns:

a pointer to memory of which at least maxsize bytes can be accessed according to the access pattern in flags .


Namespace: Gst
Package: gstreamer-1.0



2022 vala-language.org