/**
 * Copyright(c) Live2D Inc. All rights reserved.
 *
 * Use of this source code is governed by the Live2D Open Software license
 * that can be found at https://www.live2d.com/eula/live2d-open-software-license-agreement_en.html.
 */ /**
 * メモリアロケーションを抽象化したクラス
 *
 * メモリ確保・解放処理をプラットフォーム側で実装して
 * フレームワークから呼び出すためのインターフェース
 */ export abstract class ICubismAllocator { param size return public abstract allocate ( size ) ; param memory public abstract deallocate ( memory ) ; param size param alignment return public abstract allocateAligned ( size , alignment ) ; param alignedMemory public abstract deallocateAligned ( alignedMemory ) ; } import * as $ from './icubismallcator' ; export namespace Live2DCubismFramework { export const ICubismAllocator = $ . ICubismAllocator ; export type ICubismAllocator = $ . ICubismAllocator ; }