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
]
public
class
PtrArray
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
compare_func)
public
void
sort_with_data
(
CompareDataFunc
compare_func)
public
void
set_free_func
(
DestroyNotify
? element_free_function)
public
void
set_size
(
int
length)
Fields:
public
uint
len
public
void
**
pdata