Function rcocos2d_sys::cocos2d_ccArrayFastRemoveObjectAtIndex[][src]

pub unsafe extern "C" fn cocos2d_ccArrayFastRemoveObjectAtIndex(
    arr: *mut cocos2d_ccArray,
    index: c_uint
)
Expand description

Removes object at specified index and fills the gap with the last object, thereby avoiding the need to push back subsequent objects. Behavior undefined if index outside [0, num-1].