/*
 * $Id: aprintf.h,v 1.1 2003/02/07 18:15:44 wheeler Exp $
 *
 * アプリケーションＰＲＩＮＴ
 * ６４用表示関数使用の printf, vprintf
 *
 * 使い方の例は gfxprint.c を参照
 *
 * $Log: aprintf.h,v $
 * Revision 1.1  2003/02/07 18:15:44  wheeler
 * Fox's version of libultra and friends.
 *
 * Revision 1.3  1997/03/05  05:04:02  hayakawa
 * 型変更
 *
 * Revision 1.2  1996/12/18  02:36:18  hayakawa
 * 型がおかしいのを修正
 *
 * Revision 1.1  1996/12/18  02:08:40  hayakawa
 * Initial revision
 *
 */

#ifndef __APRINTF_H_
#define __APRINTF_H_

#include "stdarg.h"		/* va_list, va_start, va_end */

typedef struct aprintf_prout_s {
    void *(*prout_func)(void *, const char *, int); /* プリントアウト関数へのポインタ */
    /* この後ろは描画関数用のデータ */
} aprintf_prout_t;

#ifdef __cplusplus
extern "C" {
#endif

int vaprintf(aprintf_prout_t *a, const char *fmt, va_list ap);
int aprintf(aprintf_prout_t *a, const char *fmt, ...);

#ifdef __cplusplus
} /* extern "C" */
#endif

#endif /* __APRINTF_H_ */
