Allocator
Class
constructor
object_
class
name
alloc
free
GJS API Reference
Gst-1.0
Gst
AllocatorClass
Class AllocatorClass
The #GstAllocator is used to create new memory.
record
Hierarchy
AllocatorClass
Index
Constructors
constructor
Properties
object_
class
name
Methods
alloc
free
Constructors
constructor
new
Allocator
Class
(
)
:
AllocatorClass
Returns
AllocatorClass
Properties
object_
class
object_
class
:
Gst
.
ObjectClass
Object parent class
field
Static
name
name
:
string
Methods
alloc
alloc
(
allocator
:
Gst
.
Allocator
, size
:
number
, params
:
AllocationParams
)
:
Memory
Parameters
allocator:
Gst
.
Allocator
size:
number
params:
AllocationParams
Returns
Memory
free
free
(
allocator
:
Gst
.
Allocator
, memory
:
Memory
)
:
void
Parameters
allocator:
Gst
.
Allocator
memory:
Memory
Returns
void
Allocator
Class
constructor
object_
class
name
alloc
free
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHc3RfMV8wLkdzdC5BbGxvY2F0b3JDbGFzcy5odG1sI2NvbnN0cnVjdG9yIiwibmFtZSI6ImNvbnN0cnVjdG9yIiwiY2hpbGRyZW4iOltdLCJpc0V4dGVybiI6ZmFsc2UsImlzSW50ZXJuIjp0cnVlfSx7ImNsYXNzTmFtZXMiOiJ0c2Qta2luZC1wcm9wZXJ0eSB0c2QtcGFyZW50LWtpbmQtY2xhc3MiLCJocmVmIjoiR3N0XzFfMC5Hc3QuQWxsb2NhdG9yQ2xhc3MuaHRtbCNvYmplY3RfY2xhc3MiLCJuYW1lIjoib2JqZWN0X2NsYXNzIiwiY2hpbGRyZW4iOltdLCJpc0V4dGVybiI6ZmFsc2UsImlzSW50ZXJuIjp0cnVlfSx7ImNsYXNzTmFtZXMiOiJ0c2Qta2luZC1wcm9wZXJ0eSB0c2QtcGFyZW50LWtpbmQtY2xhc3MgdHNkLWlzLXN0YXRpYyIsImhyZWYiOiJ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