Skip to main content

Name

ec_ptr_array_unshift — puts an item at the front of the array, shifts existing data over

Synopsis

#include "misc/ec_ptr_array.h"

| int **ec_ptr_array_unshift** ( | array, |   | |   | elt); |   |

ec_ptr_array * <var class="pdparam">array</var>; void * <var class="pdparam">elt</var>;

Description

Note

This reference page was automatically generated from functions found in the header files in the development branch. The function described here may not exist in generally available versions of Momentum, and may change in behavior when it is generally available. Consult your vendor for definitive advice on the use of this function.

puts an item at the front of the array, shifts existing data over

just like perl's unshift function

Return Values

0 on failure, new array size on success

Was this page helpful?