Duplicate and Append functions are ready
This commit is contained in:
parent
5137f8721b
commit
c833f2b6c6
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue