Skip to content
  • Daniel Elstner's avatar
    :compose_argv): New function with the functionality of compose_impl() but · af360b85
    Daniel Elstner authored
    * src/translation.{cc,h} (Util::compose_argv): New function with
    the functionality of compose_impl() but using a format string of
    type const char*.  This implementation operates on bytes instead of
    Unicode code points, and copies the chunks between placeholders in
    one go instead of each character separately.
    (Util::compose): Call compose_argv() instead of compose_impl()
    and change the type of the format argument to const char* because
    the format string really should be a string literal.  Also, inline
    all of these overloads since they just forward their arguments to
    compose_argv() anyway, so that inlining actually reduces code size.
    
    svn path=/trunk/; revision=636
    af360b85
To find the state of this project's repository at the time of any of these versions, check out the tags.