cprintf.hh (5756:88038cdbb9e1) | cprintf.hh (7811:a8fc35183c10) |
---|---|
1/* 2 * Copyright (c) 2002-2006 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 111 unchanged lines hidden (view full) --- 120 stream << "<bad format>"; 121 break; 122 } 123 } 124 125 void end_args(); 126}; 127 | 1/* 2 * Copyright (c) 2002-2006 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 111 unchanged lines hidden (view full) --- 120 stream << "<bad format>"; 121 break; 122 } 123 } 124 125 void end_args(); 126}; 127 |
128/* end namespace cp */ } | 128} // namespace cp |
129 130typedef VarArgs::List<cp::Print> CPrintfArgsList; 131 132inline void 133ccprintf(std::ostream &stream, const char *format, const CPrintfArgsList &args) 134{ 135 cp::Print print(stream, format); 136 args.add_args(print); --- 56 unchanged lines hidden --- | 129 130typedef VarArgs::List<cp::Print> CPrintfArgsList; 131 132inline void 133ccprintf(std::ostream &stream, const char *format, const CPrintfArgsList &args) 134{ 135 cp::Print print(stream, format); 136 args.add_args(print); --- 56 unchanged lines hidden --- |