* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
************************************************************************/
-
+#include <stddef.h>
+#include <stdlib.h>
+#include <string.h>
#include "xarray.h"
#define XARRAY_ASSERT_NOT_NULL(xarray) \
dummy_reference = xarray_ObjectAtIndex;
dummy_reference = xarray_Count;
}
-
+
return new_xarray;
}
xarray->array[xarray->last_valid_element] = NULL;
--xarray->last_valid_element;
- return XARRAY_SUCCESS;
+ return XARRAY_SUCCESS;
}
XSTATIC int xarray_RemoveObjects (XArray *xarray, unsigned int at_index,