Added sharedRegex library

This commit is contained in:
Anonymous
2014-01-15 23:49:15 -07:00
parent 2dc66d4398
commit 99e4eb6b8c
19 changed files with 411 additions and 0 deletions
@@ -0,0 +1,26 @@
// ======================================================================
//
// RegexServices.cpp
// Copyright 2003 Sony Online Entertainment, Inc.
// All Rights Reserved.
//
// ======================================================================
#include "sharedRegex/FirstSharedRegex.h"
#include "sharedRegex/RegexServices.h"
// ======================================================================
void *RegexServices::allocateMemory(size_t byteCount)
{
return new char[byteCount];
}
// ----------------------------------------------------------------------
void RegexServices::freeMemory(void *pointer)
{
delete [] reinterpret_cast<char *>(pointer);
}
// ======================================================================