TwlIPL/build/tests/compressSharedFontLoad/compSharedFont/compBLZ_modified/file.h
nishikawa_takeshi 52bfb946d6 共有フォント圧縮時のロード速度テスト:テストプログラム追加。詳しくはREADME参照。
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@1760 b08762b0-b915-fc4b-9d8c-17b2551a87ff
2008-07-03 03:36:52 +00:00

36 lines
1.2 KiB
C

/*---------------------------------------------------------------------------*
Project: TwlSDK - tools - compstatic
File: file.h
Copyright 2003 Nintendo. All rights reserved.
These coded instructions, statements, and computer programs contain
proprietary information of Nintendo of America Inc. and/or Nintendo
Company Ltd., and are protected by Federal copyright law. They may
not be disclosed to third parties or copied or duplicated in any form,
in whole or in part, without the prior written consent of Nintendo.
$Date:: $
$Rev$
$Author$
*---------------------------------------------------------------------------*/
#ifndef FILE_H__
#define FILE_H__
#include "common.h"
int ReadFile(const char *filename, u8 **buffer);
int WriteFile(const char *filename, u8 *buffer, int size);
void CopyBuffer(const u8 *src, u8 *dst, int size);
char *GetDirName(const char *filename);
void DebugPrintf(const char *fmt, ...);
void ErrorPrintf(const char *fmt, ...);
void ConsolePrintf(const char *fmt, ...);
char *StrDup(char *old, char *new);
char *StrCat(int num, ...);
char *StrCutFname(char *path);
extern BOOL bDebugMode;
#endif //FILE_H__