Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index



There are some odd macros here:

   http://opengrok.libreoffice.org/xref/core/sal/rtl/string.cxx#58

which look like:

     #define IMPL_RTL_STRINGNAME( n )    rtl_string_ ## n

and then they are used in the code like this:

    IMPL_RTL_STRINGNAME( release )( *pTarget );

and in methods definitions like this:

    static IMPL_RTL_STRINGDATA* IMPL_RTL_STRINGNAME( ImplAlloc )( sal_Int32 nLen )


I'm not seeing the points of these macros?
They make the methods in questions invisible to OpenGrok and grep and they don't seem to add any 
value.

Thanks, Noel Grandin.




Disclaimer: http://www.peralex.com/disclaimer.html



Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.