misc/libphysfs/lzma/CPP/7zip/Compress/Branch/IA64.cpp
author unc0rr
Thu, 08 Mar 2018 21:58:59 +0100
changeset 13136 f10f4bf5f84d
parent 12218 bb5522e88ab2
permissions -rw-r--r--
This should fix crash with custom bindings

// IA64.cpp

#include "StdAfx.h"
#include "IA64.h"

extern "C" 
{ 
#include "../../../../C/Compress/Branch/BranchIA64.h"
}

UInt32 CBC_IA64_Encoder::SubFilter(Byte *data, UInt32 size)
{
  return ::IA64_Convert(data, size, _bufferPos, 1);
}

UInt32 CBC_IA64_Decoder::SubFilter(Byte *data, UInt32 size)
{
  return ::IA64_Convert(data, size, _bufferPos, 0);
}