From: hbabcock <hba...@us...> - 2006-06-18 00:57:24
|
Update of /cvsroot/plplot/plplot/include In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5224/include Modified Files: plplotP.h Log Message: Added the IO wrapper functions. Index: plplotP.h =================================================================== RCS file: /cvsroot/plplot/plplot/include/plplotP.h,v retrieving revision 1.94 retrieving revision 1.95 diff -u -d -r1.94 -r1.95 --- plplotP.h 6 Apr 2006 23:05:17 -0000 1.94 +++ plplotP.h 18 Jun 2006 00:57:22 -0000 1.95 @@ -12,6 +12,7 @@ Copyright (C) 2004 Joao Cardoso Copyright (C) 2004 Andrew Roach Copyright (C) 2006 Andrew Ross + Copyright (C) 2006 Hazen Babcock This file is part of PLplot. @@ -983,6 +984,25 @@ int ucs4_to_utf8(PLUNICODE unichar, char *ptr); +/* + * Wrapper functions for the system IO routines fread, fwrite, printf + */ + +/* wraps fwrite */ + +void +plio_fwrite(void *, size_t, size_t, FILE *); + +/* wraps fread */ + +void +plio_fread(void *, size_t, size_t, FILE *); + +/* wraps printf */ + +void +plio_printf(FILE *, const char *, ...); + #ifdef __cplusplus } #endif |