GLib.PtrArray – glib-2.0 Reference Manual
Packages
glib-2.0
GLib
PtrArray
PtrArray
PtrArray.sized
PtrArray.with_free_func
@foreach
add
index
remove
remove_fast
remove_index
remove_index_fast
remove_range
set_free_func
set_size
sort
sort_with_data
len
pdata
PtrArray
Object Hierarchy:
Description:
[
Compact
]
[
Version
( since =
"2.22"
, deprecated_since =
"vala-0.26"
, deprecated =
true
, replacement =
"GenericArray"
) ]
public
class
PtrArray
Warning:
PtrArray is deprecated since "vala-0.26". Use
GLib.GenericArray
.
Namespace:
GLib
Package:
glib-2.0
Content:
Creation methods:
public
PtrArray
()
public
PtrArray.with_free_func
(
DestroyNotify
? element_free_func)
public
PtrArray.sized
(
uint
reserved_size)
Methods:
public
void
add
(
void
* data)
public
void
@foreach
(
Func
<
void
*> func)
public
void
*
index
(
uint
index)
public
bool
remove
(
void
* data)
public
void
*
remove_index
(
uint
index)
public
bool
remove_fast
(
void
* data)
public
void
remove_index_fast
(
uint
index)
public
void
remove_range
(
uint
index,
uint
length)
public
void
sort
(
CompareFunc
<
void
**> compare_func)
public
void
sort_with_data
(
CompareDataFunc
<
void
**> compare_func)
public
void
set_free_func
(
DestroyNotify
? element_free_function)
public
void
set_size
(
int
length)
Fields:
public
uint
len
public
void
**
pdata