This commit was generated by cvs2svn to compensate for changes in r2,
which included commits to RCS files with non-trunk default branches. git-svn-id: svn://svn.cc65.org/cc65/trunk@3 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
41
libsrc/common/_printf.h
Normal file
41
libsrc/common/_printf.h
Normal file
@@ -0,0 +1,41 @@
|
||||
/*
|
||||
* _printf.h
|
||||
*
|
||||
* (C) Copyright 1998 Ullrich von Bassewitz (uz@ibb.schwaben.com)
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
|
||||
#ifndef __PRINTF_H
|
||||
#define __PRINTF_H
|
||||
|
||||
|
||||
|
||||
/* Forward */
|
||||
struct outdesc;
|
||||
|
||||
/* Type of the function that is called to output data */
|
||||
typedef void (*outfunc) (struct outdesc* desc, char* buf, unsigned count);
|
||||
|
||||
|
||||
|
||||
struct outdesc {
|
||||
outfunc fout; /* Routine used to output data */
|
||||
int ccount; /* Character counter */
|
||||
void* ptr; /* Data internal to print routine */
|
||||
unsigned uns; /* Data internal to print routine */
|
||||
};
|
||||
|
||||
|
||||
|
||||
/* Internal formatting routine */
|
||||
int _printf (struct outdesc* d, char* format, va_list ap);
|
||||
|
||||
|
||||
|
||||
/* End of _printf.h */
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user