Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 25, 2011, 2:47:49 PM (13 years ago)
Author:
landauf
Message:

output contexts are now defined as functions instead of global constants. this should avoid a static initialization fiasco and reduces the amount of context registrations (previosly it was N*M registrations with N = number of contexts and M = number of source files, now they are registered on demand). slightly worse performance though.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/output/src/libraries/util/output/OutputStream.h

    r8771 r8777  
    4747            _UtilExport OutputStream();
    4848
    49             void _UtilExport setOutputAttributes(OutputLevel level, OutputContext context);
     49            void _UtilExport setOutputAttributes(OutputLevel level, OutputContextFunction context);
    5050
    5151            template <class T>
Note: See TracChangeset for help on using the changeset viewer.