chromium/third_party/lzma_sdk/C/7zAlloc.c

/* 7zAlloc.c -- Allocation functions
2017-04-03 : Igor Pavlov : Public domain */

#include "Precomp.h"

#include <stdlib.h>

#include "7zAlloc.h"

/* #define _SZ_ALLOC_DEBUG */
/* use _SZ_ALLOC_DEBUG to debug alloc/free operations */

#ifdef _SZ_ALLOC_DEBUG

#ifdef _WIN32
#include <windows.h>
#endif

#include <stdio.h>
int g_allocCount = 0;
int g_allocCountTemp = 0;

#endif

void *SzAlloc(ISzAllocPtr p, size_t size)
{}

void SzFree(ISzAllocPtr p, void *address)
{}

void *SzAllocTemp(ISzAllocPtr p, size_t size)
{}

void SzFreeTemp(ISzAllocPtr p, void *address)
{}