Title / Description
Code // Struct to carry formatter attributes and virtual methods struct formatter { FILE *fp; // Virtual Methods here! void (*formatter_header2) (formatter*, char* ); void (*formatter_body2) (formatter*, char* ); void (*formatter_preamble_) (formatter *cthis, char* string); void (*formatter_postamble_) (formatter *cthis, char* string); }; /* * Formatter class public methods */
Author
Highlight as C C++ CSS Clojure Delphi ERb Groovy (beta) HAML HTML JSON Java JavaScript PHP Plain text Python Ruby SQL XML YAML diff code