Duplicate and Append functions are ready

This commit is contained in:
Kolan Sh 2011-06-14 17:41:32 +04:00
parent 5137f8721b
commit c833f2b6c6
1 changed files with 6 additions and 0 deletions

View File

@ -9,10 +9,16 @@
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include "zalloc_ext.h"
#include "zalloc.h" #include "zalloc.h"
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
zalloc_append(0, NULL);
zalloc_append8(0, 0);
if (argc != 3) { if (argc != 3) {
fputs("Usage: realloc_speed_test_cpp iterations nobj\n", stderr); fputs("Usage: realloc_speed_test_cpp iterations nobj\n", stderr);
exit(-1); exit(-1);