//---------------------------------------------------------------------------
// Copyright 2016 Joe Lowe
//
// Permission is granted to any person obtaining a copy of this Software,
// to deal in the Software without restriction, including the rights to use,
// copy, modify, merge, publish, distribute, sublicense, and sell copies of
// the Software.
//
// The above copyright and permission notice must be left intact in all
// copies or substantial portions of the Software.
//
// THE SOFTWARE IS WITHOUT WARRANTY.
//---------------------------------------------------------------------------
// file name:  ptmalloc.h
// created:    2016.06.06
//
// Memory allocator interface.
//
// The interfaces defined here are expected to be used as primitives
// in other interfaces, and so must indefinately maintain ABI
// compatibility. Source compatibility may change over time.
//---------------------------------------------------------------------------
#ifndef PTMALLOC_H
#define PTMALLOC_H
#include "ptpublic.h"

#define INTERFACE_NAME malloc_i
PT_INTERFACE_DEFINE
{
   PT_INTERFACE_FUNC( void*, alloc, PT_SIZE_T);
};
#undef INTERFACE_NAME

#endif
