![]() |
![]() |
![]() |
Swfdec Reference Manual | ![]() |
---|---|---|---|---|
SwfdecAsArray; SwfdecAsObject* swfdec_as_array_new (SwfdecAsContext *context); void swfdec_as_array_append (SwfdecAsArray *array, guint n, const SwfdecAsValue *values); #define swfdec_as_array_push (array,value)
SwfdecAsObject* swfdec_as_array_new (SwfdecAsContext *context);
Creates a new SwfdecAsArray.
context : |
a SwfdecAsContext |
Returns : | the new array or NULL on OOM.
|
void swfdec_as_array_append (SwfdecAsArray *array, guint n, const SwfdecAsValue *values);
Appends the given values
to the array.
array : |
a SwfdecAsArray |
n : |
number of values to add |
values : |
the values to add |
#define swfdec_as_array_push(array,value)
Adds the given value to the array. This a macro that just calls
swfdec_as_array_append()
.
array : |
a SwfdecAsArray |
value : |
the value to add |