From 4429bd6724a4668464e8a7920e3c77860b127678 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 4 May 2018 16:16:41 +0200 Subject: Regenerate libhello using bdep-new --- libhello/libhello/hello.hxx | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) (limited to 'libhello/libhello/hello.hxx') diff --git a/libhello/libhello/hello.hxx b/libhello/libhello/hello.hxx index d9e41d9..f0fc49e 100644 --- a/libhello/libhello/hello.hxx +++ b/libhello/libhello/hello.hxx @@ -1,7 +1,6 @@ -// file: libhello/hello.hxx -*- C++ -*- - #pragma once +#include #include #include @@ -12,18 +11,21 @@ namespace hello { // If you compare this interface to version 1.0, then you will notice that // while it is API/source-compatible (the call via the old signature of - // say() is still valid) it is not ABI/binary-compatible (say() now has an - // extra argument and is inline). + // say_hello() is still valid) it is not ABI/binary-compatible (say_hello() + // now has an extra argument and is inline). // - // Notice also that inline say() now uses a type and calls a function from - // format which means libformat is an "interface dependency" of libhello. + // Notice also that say_hello() now uses a type and calls (from its inline + // implementation) a function from format which means libformat is an + // "interface dependency" of libhello. - LIBHELLO_EXPORT void - say_formatted (const std::string& message); + LIBHELLO_SYMEXPORT void + say_hello_formatted (std::ostream&, const std::string& hello); inline void - say (const std::string& name, format::volume v = format::volume::normal) + say_hello (std::ostream& o, + const std::string& name, + format::volume v = format::volume::normal) { - say_formatted (format::message ("Hello", name, v)); + say_hello_formatted (o, format::format_hello ("Hello", name, v)); } } -- cgit v1.1