/*
* _printf.h
*
- * (C) Copyright 1998 Ullrich von Bassewitz (uz@ibb.schwaben.com)
+ * (C) Copyright 1998 Ullrich von Bassewitz (uz@cc65.org)
*
*/
+/* Control structure passed to the low level worker function.
+ * Beware: This function will access the structure on the assembly level,
+ * so check this when altering the structure.
+ */
struct outdesc {
- outfunc fout; /* Routine used to output data */
int ccount; /* Character counter */
+ outfunc fout; /* Routine used to output data */
void* ptr; /* Data internal to print routine */
unsigned uns; /* Data internal to print routine */
};
/* Internal formatting routine */
-int _printf (struct outdesc* d, const char* format, va_list ap);
+int __fastcall__ _printf (struct outdesc* d, const char* format, va_list ap);