/[ascend]/trunk/base/generic/utilities/ascPrint.h
ViewVC logotype

Diff of /trunk/base/generic/utilities/ascPrint.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 524 by johnpye, Fri Mar 31 08:52:57 2006 UTC revision 525 by johnpye, Fri Apr 21 10:41:45 2006 UTC
# Line 43  Line 43 
43  #include <stdarg.h>  #include <stdarg.h>
44    
45  #include <utilities/ascConfig.h>  #include <utilities/ascConfig.h>
 #include <utilities/ascPrintType.h>  
46    
47  /**  /**
48   * Forward declaration of output functions interceptor vtable.   * Output functions interceptor vtable. This should be constructed
49     * and the functions fully operational before it is
50     * pushed on the stack of output tables.
51     *
52   * This should be constructed and the functions fully operational   * This should be constructed and the functions fully operational
53   * before it is pushed on the stack of output tables.<br><br>   * before it is pushed on the stack of output tables.<br><br>
54   *   */
55   * Anyone implementing the vtable and using Asc_PrintPushVTable  struct Asc_PrintVTable {
56   * to register it will need to include the complete struct    CONST char *name;                                         /**< Vtable name. */
57   * definition in ascPrintType.h.    int (*print)(FILE *fp, CONST char *format, va_list args); /**< Print function. */
58   */    int (*fflush)(FILE *);                                    /**< Flush function. */
59  struct Asc_PrintVTable;                                                  struct Asc_PrintVTable *next;                             /**< Next vtable in linked list. */
60    };
61                                                
62    
63  extern int Asc_PrintPushVTable(struct Asc_PrintVTable *vtable);  extern int Asc_PrintPushVTable(struct Asc_PrintVTable *vtable);
64  /**<  /**<

Legend:
Removed from v.524  
changed lines
  Added in v.525

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22