Add new API functions, tjAlloc() and tjFree(), which allow memory to be allocated and freed using a method of the library's choosing. At the moment, the primary purpose for this is to avoid allocating/freeing memory across the DLL boundary on Windows.

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@634 632fc199-4ca6-4c93-a231-07263d6284db
This commit is contained in:
DRC
2011-05-24 16:52:47 +00:00
parent 90215cca0c
commit 6b76f75d2c
15 changed files with 125 additions and 22 deletions

View File

@@ -25,9 +25,11 @@ TURBOJPEG_1.1
TURBOJPEG_1.2
{
global:
tjAlloc;
tjCompress2;
tjDecompress2;
tjEncodeYUV2;
tjFree;
tjGetScalingFactors;
tjInitTransform;
tjTransform;