diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 05:54:39 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 05:54:39 +0000 |
commit | 267c6f2ac71f92999e969232431ba04678e7437e (patch) | |
tree | 358c9467650e1d0a1d7227a21dac2e3d08b622b2 /cpp.hint | |
parent | Initial commit. (diff) | |
download | libreoffice-267c6f2ac71f92999e969232431ba04678e7437e.tar.xz libreoffice-267c6f2ac71f92999e969232431ba04678e7437e.zip |
Adding upstream version 4:24.2.0.upstream/4%24.2.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'cpp.hint')
-rw-r--r-- | cpp.hint | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/cpp.hint b/cpp.hint new file mode 100644 index 0000000000..63269345ce --- /dev/null +++ b/cpp.hint @@ -0,0 +1,46 @@ +// Hint files help the Visual Studio IDE interpret Visual C++ identifiers +// such as names of functions and macros. +// For more information see https://go.microsoft.com/fwlink/?linkid=865984 + +#define SAL_THROW_EXTERN_C() + +#define SAL_UNUSED_PARAMETER + +#define DECL_LINK(Member, ArgType, RetType) \ + RetType Member(ArgType) + +#define DECL_STATIC_LINK(Class, Member, ArgType, RetType) \ + static RetType Member(Class *, ArgType) + +#define DECL_DLLPRIVATE_LINK(Member, ArgType, RetType) \ + SAL_DLLPRIVATE RetType Member(ArgType) + +#define DECL_DLLPRIVATE_STATIC_LINK(Class, Member, ArgType, RetType) \ + SAL_DLLPRIVATE static RetType Member(Class *, ArgType) + +#define IMPL_LINK(Class, Member, ArgType, ArgName, RetType) \ + RetType Class::Member(ArgType ArgName) + +#define IMPL_LINK_NOARG(Class, Member, ArgType, RetType) \ + RetType Class::Member(ArgType) + +#define IMPL_STATIC_LINK(Class, Member, ArgType, ArgName, RetType) \ + RetType Class::Member(Class *, ArgType ArgName) + +#define IMPL_STATIC_LINK_NOARG(Class, Member, ArgType, RetType) \ + RetType Class::Member(Class *, ArgType) + +// From workdir/UnpackedTarball/cppunit/include/cppunit/plugin/TestPlugIn.h + +#define CPPUNIT_PLUGIN_IMPLEMENT() + +// From workdir/UnpackedTarball/cppunit/include/cppunit/extensions/HelperMacros.h +// To allow searching for the test names, where they are defined using the macros + +#define CPPUNIT_TEST_FIXTURE(TestClass, TestName) \ + class TestName : public TestClass \ + { \ + public: \ + void TestBody(); \ + }; \ + void TestName::TestBody() |