misc/libphysfs/lzma/CPP/7zip/Compress/Branch/ARM.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

// ARM.cpp

#include "StdAfx.h"
#include "ARM.h"

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

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

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