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
diff --git a/turbojpeg-mapfile.jni b/turbojpeg-mapfile.jni
index 5b322cb..1465ad2 100755
--- a/turbojpeg-mapfile.jni
+++ b/turbojpeg-mapfile.jni
@@ -25,9 +25,11 @@
TURBOJPEG_1.2
{
global:
+ tjAlloc;
tjCompress2;
tjDecompress2;
tjEncodeYUV2;
+ tjFree;
tjGetScalingFactors;
tjInitTransform;
tjTransform;